]> git.saurik.com Git - wxWidgets.git/commitdiff
using Run of base class
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 27 Jul 2013 20:22:40 +0000 (20:22 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 27 Jul 2013 20:22:40 +0000 (20:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/evtloop.h

index eec36aec66fc7c3fbfc9c1f5a098818688aec834..995a7137018dae21aaf0e75d4807f2172f9ea54c 100644 (file)
@@ -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();