]> git.saurik.com Git - wxWidgets.git/commitdiff
adapting the MSW way for mutex gui
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 22 Apr 2004 20:51:22 +0000 (20:51 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 22 Apr 2004 20:51:22 +0000 (20:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/app.cpp

index 7c82e31a6e54cce77a0627c7a807db75f7515c96..bcf9cfb1d1ece1f0c91b19629338647cd92a6c9b 100644 (file)
@@ -1124,6 +1124,9 @@ void wxApp::MacHandleOneEvent( WXEVENTREF evr )
         MacHandleUnhandledEvent(evr);
     }
     wxMacProcessNotifierAndPendingEvents() ;
+#if wxUSE_THREADS
+    wxMutexGuiLeaveOrEnter();
+#endif // wxUSE_THREADS
 }
 
 long wxMacTranslateKey(unsigned char key, unsigned char code) ;