virtual int OnRun() { return MainLoop(); };
virtual int OnExit() { return 0; }
+
+ /** Returns the standard icons for the msg dialogs, implemented in
+ src/generic/msgdlgg.cpp and src/gtk/app.cpp. */
+ virtual wxIcon GetStdIcon(int which) const;
+
inline void SetPrintMode(int mode) { m_printMode = mode; }
inline int GetPrintMode() const { return m_printMode; }
protected:
bool m_keepGoing ;
+// mac specifics
+
+public :
+
+ void MacDoOneEvent() ;
+
+ void MacHandleOneEvent( EventRecord *ev ) ;
+ void MacHandleNullEvent( EventRecord *ev ) ;
+ void MacHandleHighLevelEvent( EventRecord *ev ) ;
+ void MacHandleMouseDownEvent( EventRecord *ev ) ;
+ void MacHandleMouseUpEvent( EventRecord *ev ) ;
+ void MacHandleKeyDownEvent( EventRecord *ev ) ;
+ void MacHandleKeyUpEvent( EventRecord *ev ) ;
+ void MacHandleAutoKeyEvent( EventRecord *ev ) ;
+ void MacHandleActivateEvent( EventRecord *ev ) ;
+ void MacHandleUpdateEvent( EventRecord *ev ) ;
+ void MacHandleDiskEvent( EventRecord *ev ) ;
+ void MacHandleOSEvent( EventRecord *ev ) ;
+
+
+
DECLARE_EVENT_TABLE()
};