From: Stefan Csomor Date: Mon, 22 Oct 2007 20:11:51 +0000 (+0000) Subject: fixing compilo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5a2b31a0d723475db5fadb074dc636d3fb226a3a?ds=inline fixing compilo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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