Lines Matching refs:gMacNotificationEvents
31 static wxMacNotificationEvents gMacNotificationEvents ;
38 gMacNotificationEvents.top = 0 ;
39 gMacNotificationEvents.bottom = 0 ;
42 gMacNotificationEvents.proc[i] = NULL ;
43 gMacNotificationEvents.events[i] = 0 ;
44 gMacNotificationEvents.data[i] = NULL ;
54 return (wxMacNotifierTableRef) &gMacNotificationEvents ;
103 if ( gMacNotificationEvents.top != gMacNotificationEvents.bottom )
107 short count = gMacNotificationEvents.top - gMacNotificationEvents.bottom ;
114 short index = gMacNotificationEvents.bottom++ ;
115 if ( gMacNotificationEvents.bottom == kMaxEvents )
116 gMacNotificationEvents.bottom = 0 ;
117 void* data = gMacNotificationEvents.data[index] ;
118 unsigned long event = gMacNotificationEvents.events[index] ;
119 wxMacNotificationProcPtr handler = gMacNotificationEvents.proc[index] ;
121 gMacNotificationEvents.data[index] = NULL ;
122 gMacNotificationEvents.events[index] = 0 ;
123 gMacNotificationEvents.proc[index] = NULL ;