From: Stefan Csomor Date: Sun, 23 May 2004 11:04:57 +0000 (+0000) Subject: activated modal app state again X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f697130ea2c12d93be577fb5778bc4ad2cf64a9e activated modal app state again git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/dialog.cpp b/src/mac/carbon/dialog.cpp index af14cbc258..9ec4ef5220 100644 --- a/src/mac/carbon/dialog.cpp +++ b/src/mac/carbon/dialog.cpp @@ -164,7 +164,7 @@ void wxDialog::DoShowModal() wxModalDialogs.Append(this); #if TARGET_CARBON -// BeginAppModalStateForWindow( (WindowRef) MacGetWindowRef()) ; + BeginAppModalStateForWindow( (WindowRef) MacGetWindowRef()) ; #else // TODO : test whether parent gets disabled bool formerModal = s_macIsInModalLoop ; @@ -177,7 +177,7 @@ void wxDialog::DoShowModal() } #if TARGET_CARBON -// EndAppModalStateForWindow( (WindowRef) MacGetWindowRef() ) ; + EndAppModalStateForWindow( (WindowRef) MacGetWindowRef() ) ; #else // TODO probably reenable the parent window if any s_macIsInModalLoop = formerModal ;