X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45b81639ef31938fbcf512519dbd74a54fbcd1d5..35bb3cb155917b4287fb2a3841bea22919a3d499:/src/mac/carbon/dialog.cpp diff --git a/src/mac/carbon/dialog.cpp b/src/mac/carbon/dialog.cpp index 7c984cea0c..2a127e7631 100644 --- a/src/mac/carbon/dialog.cpp +++ b/src/mac/carbon/dialog.cpp @@ -139,7 +139,7 @@ extern bool s_macIsInModalLoop ; void wxDialog::DoShowModal() { - wxCHECK_RET( !IsModalShowing(), wxT("DoShowModal() called twice") ); + wxCHECK_RET( !IsModal(), wxT("DoShowModal() called twice") ); wxModalDialogs.Append(this); @@ -153,7 +153,7 @@ void wxDialog::DoShowModal() s_macIsInModalLoop = true ; #endif - while ( IsModalShowing() ) + while ( IsModal() ) { wxTheApp->MacDoOneEvent() ; // calls process idle itself