]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing compilo
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 22 Oct 2007 20:11:51 +0000 (20:11 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 22 Oct 2007 20:11:51 +0000 (20:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dialog.cpp

index 7c984cea0c10d8044631223b9fc946145892b80e..2a127e76319c5a884278d7f9461894cb98fb2573 100644 (file)
@@ -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