From: Mattia Barbon Date: Thu, 23 Oct 2003 21:58:22 +0000 (+0000) Subject: Make both GCC and MSVC 5 happy. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b2b9de21cbc6f61663a9dee2ab086df671f581d6 Make both GCC and MSVC 5 happy. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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