X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72ddb593f1a430b8aab993e43b4184bc16acb665..44893b87abdc8df271363b08a5d1b57cf7e4e04c:/include/wx/mac/app.h diff --git a/include/wx/mac/app.h b/include/wx/mac/app.h index 5f269ffc05..66ecb949cc 100644 --- a/include/wx/mac/app.h +++ b/include/wx/mac/app.h @@ -53,6 +53,7 @@ class WXDLLEXPORT wxApp: public wxAppBase virtual bool Pending() ; virtual void Dispatch() ; virtual bool Yield(bool onlyIfNeeded = FALSE); + virtual bool ProcessIdle(); virtual void SetPrintMode(int mode) { m_printMode = mode; } virtual int GetPrintMode() const { return m_printMode; } @@ -87,7 +88,6 @@ public: virtual bool OnInit(); void DeletePendingObjects(); - bool ProcessIdle(); bool IsExiting() { return !m_keepGoing ; } public: @@ -95,6 +95,7 @@ public: static wxWindow* s_captureWindow ; static int s_lastMouseDown ; // 0 = none , 1 = left , 2 = right static WXHRGN s_macCursorRgn ; + static long s_lastModifiers ; WXEVENTREF m_macCurrentEvent ; int m_nCmdShow; @@ -135,6 +136,7 @@ public: void MacDoOneEvent() ; void MacHandleOneEvent( WXEVENTREF ev ) ; + void MacHandleModifierEvents( WXEVENTREF ev ) ; WXEVENTREF MacGetCurrentEvent() { return m_macCurrentEvent ; } // primary events