+ static bool s_macSupportPCMenuShortcuts ;
+ static long s_macAboutMenuItemId ;
+ static long s_macPreferencesMenuItemId ;
+ static long s_macExitMenuItemId ;
+ static wxString s_macHelpMenuTitleName ;
+
+ static bool s_macHasAppearance ;
+ static long s_macAppearanceVersion ;
+ static bool s_macHasNavigation ;
+ static bool s_macNavigationVersion ;
+ static bool s_macHasWindowManager ;
+ static long s_macWindowManagerVersion ;
+ static bool s_macHasMenuManager ;
+ static long s_macMenuManagerVersion ;
+ static bool s_macHasDialogManager ;
+ static long s_macDialogManagerVersion ;
+
+ WXHRGN m_macCursorRgn ;
+ WXHRGN m_macSleepRgn ;
+ WXHRGN m_macHelpRgn ;
+
+ virtual void MacSuspend( bool convertClipboard ) ;
+ virtual void MacResume( bool convertClipboard ) ;
+ virtual void MacConvertPrivateToPublicScrap() ;
+ virtual void MacConvertPublicToPrivateScrap() ;
+
+ void MacDoOneEvent() ;
+ WXEVENTREF MacGetCurrentEvent() { return m_macCurrentEvent ; }
+ void MacHandleOneEvent( WXEVENTREF ev ) ;
+#if !TARGET_CARBON
+ virtual void MacHandleMenuSelect( int menuid , int menuitem ) ;
+ virtual void MacHandleMouseUpEvent( WXEVENTREF ev ) ;
+ virtual void MacHandleOSEvent( WXEVENTREF ev ) ;
+ virtual void MacHandleDiskEvent( WXEVENTREF ev ) ;
+ virtual void MacHandleActivateEvent( WXEVENTREF ev ) ;
+ virtual void MacHandleUpdateEvent( WXEVENTREF ev ) ;
+ virtual void MacHandleMouseDownEvent( WXEVENTREF ev ) ;
+
+ void MacHandleModifierEvents( WXEVENTREF ev ) ;
+
+ virtual void MacHandleKeyDownEvent( WXEVENTREF ev ) ;
+ virtual void MacHandleKeyUpEvent( WXEVENTREF ev ) ;
+ virtual void MacHandleHighLevelEvent( WXEVENTREF ev ) ;
+
+#else
+ virtual void MacHandleMouseMovedEvent( wxInt32 x , wxInt32 y ,wxUint32 modifiers , long timestamp ) ;
+#endif