use wxEmptyString instead of wxString() for default values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,7 +37,7 @@ public:
|
|||||||
// create a notification object with the given title and message (the
|
// create a notification object with the given title and message (the
|
||||||
// latter may be empty in which case only the title will be shown)
|
// latter may be empty in which case only the title will be shown)
|
||||||
wxNotificationMessageBase(const wxString& title,
|
wxNotificationMessageBase(const wxString& title,
|
||||||
const wxString& message = wxString(),
|
const wxString& message = wxEmptyString,
|
||||||
wxWindow *parent = NULL,
|
wxWindow *parent = NULL,
|
||||||
int flags = wxICON_INFORMATION)
|
int flags = wxICON_INFORMATION)
|
||||||
: m_title(title),
|
: m_title(title),
|
||||||
@@ -144,7 +144,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
wxNotificationMessage() { }
|
wxNotificationMessage() { }
|
||||||
wxNotificationMessage(const wxString& title,
|
wxNotificationMessage(const wxString& title,
|
||||||
const wxString& message = wxString(),
|
const wxString& message = wxEmptyString,
|
||||||
wxWindow *parent = NULL,
|
wxWindow *parent = NULL,
|
||||||
int flags = wxICON_INFORMATION)
|
int flags = wxICON_INFORMATION)
|
||||||
: wxGenericNotificationMessage(title, message, parent, flags)
|
: wxGenericNotificationMessage(title, message, parent, flags)
|
||||||
|
Reference in New Issue
Block a user