diff --git a/src/common/event.cpp b/src/common/event.cpp index b7cb5cafaf..831b257dcd 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -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; }