X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c326adae6bcbcc9510710116ae9eb4b5581192d..f4e8ff28c5ad0c498ee676a3470e615b6479ba3b:/src/mac/carbon/dialog.cpp 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 ;