short wakeUp )
{
wxMacNotificationEvents *e = (wxMacNotificationEvents *) table ;
- wxASSERT_MSG( handler != NULL , "illegal notification proc ptr" ) ;
+ wxASSERT_MSG( handler != NULL , wxT("illegal notification proc ptr") ) ;
/* this should be protected eventually */
short index = e->top++ ;
while ( e->top != index )
{
- if ( index == kMaxEvents )
- index = 0 ;
if ( e->data[index] == data )
e->data[index] = NULL ;
index++ ;
+ if ( index == kMaxEvents )
+ index = 0 ;
}
}