From: Stefan Csomor Date: Thu, 22 Apr 2004 20:51:22 +0000 (+0000) Subject: adapting the MSW way for mutex gui X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f8df60f2b23b32e8cf850b17a2e66ec476effe08 adapting the MSW way for mutex gui git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 7c82e31a6e..bcf9cfb1d1 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -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) ;