]> git.saurik.com Git - wxWidgets.git/commitdiff
By assigning wxEmptyString instead of NULL to m_commandString,
authorOve Kaaven <ovek@arcticnet.no>
Thu, 29 Jul 1999 10:16:49 +0000 (10:16 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Thu, 29 Jul 1999 10:16:49 +0000 (10:16 +0000)
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

src/common/event.cpp

index b7cb5cafaf6e01a7c849a20729f88778dc7dca9b..831b257dcdb5c822895982f5c4ef8f423f37ff60 100644 (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;
 }