fixing compilo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2007-10-22 20:11:51 +00:00
parent 0eee633069
commit 5a2b31a0d7

View 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