]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/evtloop.h
More German translations updates from Sebastian Walderich.
[wxWidgets.git] / 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();