]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/macnotfy.cpp
mouse-capture fix
[wxWidgets.git] / src / mac / carbon / macnotfy.cpp
index 08d304bb49dc519789fc3306d8c478b0c6bc9cc6..8d22be40fd28ca6b104f28235571a521da4d44c5 100644 (file)
@@ -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 )