X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73280e055362c69fa837bf44efc125a0db219c0b..abb88ef36b622958aee316eae76c79b145b831dd:/src/mac/carbon/macnotfy.cpp diff --git a/src/mac/carbon/macnotfy.cpp b/src/mac/carbon/macnotfy.cpp index 2962de20f5..8d22be40fd 100644 --- a/src/mac/carbon/macnotfy.cpp +++ b/src/mac/carbon/macnotfy.cpp @@ -7,6 +7,8 @@ * ------------------------------------------------------------------------- */ +#include "wx/wxprec.h" + #include "wx/wx.h" #include "wx/mac/private.h" @@ -38,7 +40,7 @@ void wxMacCreateNotifierTable() for ( int i = 0 ; i < kMaxEvents ; ++i ) { gMacNotificationEvents.proc[i] = NULL ; - gMacNotificationEvents.events[i] = NULL ; + gMacNotificationEvents.events[i] = 0 ; gMacNotificationEvents.data[i] = NULL ; } } @@ -117,7 +119,7 @@ void wxMacProcessNotifierEvents() wxMacNotificationProcPtr handler = gMacNotificationEvents.proc[index] ; gMacNotificationEvents.data[index] = NULL ; - gMacNotificationEvents.events[index] = NULL ; + gMacNotificationEvents.events[index] = 0 ; gMacNotificationEvents.proc[index] = NULL ; if ( handler )