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:
Ove Kaaven
1999-07-29 10:16:49 +00:00
parent f79c001d5d
commit 04392d70b9

View File

@@ -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;
}