git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49340
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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);
s_macIsInModalLoop = true ;
#endif
s_macIsInModalLoop = true ;
#endif
- while ( IsModalShowing() )
{
wxTheApp->MacDoOneEvent() ;
// calls process idle itself
{
wxTheApp->MacDoOneEvent() ;
// calls process idle itself