From 04392d70b9f3774176d0d598683f1bed27e6c9c3 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Thu, 29 Jul 1999 10:16:49 +0000 Subject: [PATCH] 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 --- src/common/event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.45.2