From: Mattia Barbon Date: Sun, 19 Oct 2003 09:10:20 +0000 (+0000) Subject: MSVC 5 compilation fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/728b21e56cfd0d901c8ef960afeceb3f0f6a04a6 MSVC 5 compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/event.cpp b/src/common/event.cpp index 2ba914fde2..88efcebd75 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) + if ((event.m_eventType == entry->m_eventType) && (entry->m_fn != NULL)) { wxEvtHandler *handler = #if !WXWIN_COMPATIBILITY_EVENT_TYPES