]> git.saurik.com Git - wxWidgets.git/commitdiff
Make both GCC and MSVC 5 happy.
authorMattia Barbon <mbarbon@cpan.org>
Thu, 23 Oct 2003 21:58:22 +0000 (21:58 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Thu, 23 Oct 2003 21:58:22 +0000 (21:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/event.cpp

index 88efcebd7598a97443f01d6384b82f608972977b..5c40ecf1c803a24174018f2d7d906ebe02c7a2d2 100644 (file)
@@ -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