From: Stefan Csomor Date: Sat, 27 Jul 2013 20:22:40 +0000 (+0000) Subject: using Run of base class X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cf126cf22bcb9209893f629602984ec28459af51 using Run of base class git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/osx/evtloop.h b/include/wx/osx/evtloop.h index eec36aec66..995a713701 100644 --- a/include/wx/osx/evtloop.h +++ b/include/wx/osx/evtloop.h @@ -27,7 +27,11 @@ class WXDLLIMPEXP_CORE wxModalEventLoop : public wxGUIEventLoop public: wxModalEventLoop(wxWindow *modalWindow); wxModalEventLoop(WXWindow modalNativeWindow); - + +#ifdef __WXOSX_COCOA__ + // skip wxGUIEventLoop to avoid missing Enter/Exit notifications + int Run() { return wxCFEventLoop::Run(); } +#endif protected: virtual void OSXDoRun(); virtual void OSXDoStop();