X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d1a4878f36ba4b5f66c2ccfd2cb27a9dc528b6f..a9b456ff08a33913d3021420c49cff52896e1513:/src/mac/carbon/macnotfy.cpp?ds=sidebyside diff --git a/src/mac/carbon/macnotfy.cpp b/src/mac/carbon/macnotfy.cpp index 08d304bb49..8d22be40fd 100644 --- a/src/mac/carbon/macnotfy.cpp +++ b/src/mac/carbon/macnotfy.cpp @@ -40,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 ; } } @@ -119,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 )