fixing compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -139,7 +139,7 @@ extern bool s_macIsInModalLoop ;
|
|||||||
|
|
||||||
void wxDialog::DoShowModal()
|
void wxDialog::DoShowModal()
|
||||||
{
|
{
|
||||||
wxCHECK_RET( !IsModalShowing(), wxT("DoShowModal() called twice") );
|
wxCHECK_RET( !IsModal(), wxT("DoShowModal() called twice") );
|
||||||
|
|
||||||
wxModalDialogs.Append(this);
|
wxModalDialogs.Append(this);
|
||||||
|
|
||||||
@@ -153,7 +153,7 @@ void wxDialog::DoShowModal()
|
|||||||
s_macIsInModalLoop = true ;
|
s_macIsInModalLoop = true ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
while ( IsModalShowing() )
|
while ( IsModal() )
|
||||||
{
|
{
|
||||||
wxTheApp->MacDoOneEvent() ;
|
wxTheApp->MacDoOneEvent() ;
|
||||||
// calls process idle itself
|
// calls process idle itself
|
||||||
|
Reference in New Issue
Block a user