By assigning wxEmptyString instead of NULL to m_commandString,
I hope to reduce the number of crash-on-startup events git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,7 +127,7 @@ wxCommandEvent::wxCommandEvent(wxEventType commandType, int theId)
|
||||
m_extraLong = 0;
|
||||
m_commandInt = 0;
|
||||
m_id = theId;
|
||||
m_commandString = (wxChar *) NULL;
|
||||
m_commandString = wxEmptyString;
|
||||
m_isCommandEvent = TRUE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user