From cf126cf22bcb9209893f629602984ec28459af51 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 27 Jul 2013 20:22:40 +0000 Subject: [PATCH] using Run of base class git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/evtloop.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); -- 2.45.2