X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4294b7832a5aed3c1cccc06aecd227d43da8830..6bc5e910c42d8212272a350b20841ab9d8a87719:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index dd13024c23..c84e70f38c 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -104,6 +104,7 @@ wxCommandEvent::wxCommandEvent(wxEventType commandType, int theId) { m_eventType = commandType; m_clientData = (char *) NULL; + m_clientObject = (wxClientData *) NULL; m_extraLong = 0; m_commandInt = 0; m_id = theId; @@ -262,7 +263,6 @@ wxKeyEvent::wxKeyEvent(wxEventType type) wxEvtHandler::wxEvtHandler(void) { - m_clientData = (char *) NULL; m_nextHandler = (wxEvtHandler *) NULL; m_previousHandler = (wxEvtHandler *) NULL; m_enabled = TRUE;