X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/728b21e56cfd0d901c8ef960afeceb3f0f6a04a6..5955710c8bd346e8be675bd1dbbd427723a57920:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index 88efcebd75..5c40ecf1c8 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -1330,7 +1330,7 @@ bool wxEvtHandler::SearchDynamicEventTable( wxEvent& event ) wxDynamicEventTableEntry *entry = (wxDynamicEventTableEntry*)node->GetData(); #endif // WXWIN_COMPATIBILITY_EVENT_TYPES/!WXWIN_COMPATIBILITY_EVENT_TYPES - if ((event.m_eventType == entry->m_eventType) && (entry->m_fn != NULL)) + if ((event.m_eventType == entry->m_eventType) && (entry->m_fn != 0)) { wxEvtHandler *handler = #if !WXWIN_COMPATIBILITY_EVENT_TYPES