fixing compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0eee633069
commit
5a2b31a0d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user