// handling the quit event is not recommended by apple
// rather using the quit apple event - which we do
+ { kEventClassAppleEvent , kEventAppleEvent } ,
+
{ kEventClassMouse , kEventMouseDown } ,
} ;
case kEventClassMouse :
result = MouseEventHandler( handler , event , data ) ;
break ;
+ case kEventClassAppleEvent :
+ {
+ EventRecord rec ;
+ wxMacConvertEventToRecord( event , &rec ) ;
+ result = AEProcessAppleEvent( &rec ) ;
+ }
+ break ;
default :
break ;
}