X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..da048e3d4c244a0d0b42e6e6970ad895ea948a53:/include/wx/mac/app.h?ds=inline diff --git a/include/wx/mac/app.h b/include/wx/mac/app.h index 67bceb9169..7cab45cffa 100644 --- a/include/wx/mac/app.h +++ b/include/wx/mac/app.h @@ -67,6 +67,11 @@ class WXDLLEXPORT wxApp: public wxEvtHandler 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; } @@ -141,6 +146,27 @@ public: 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() };