}
-bool wxDialog::IsModalShowing() const
-{
- return wxModalDialogs.Find((wxDialog *)this) != NULL; // const_cast
-}
-
bool wxDialog::Show(bool show)
{
if ( !wxDialogBase::Show(show) )
void wxDialog::DoShowModal()
{
- wxCHECK_RET( !IsModalShowing(), wxT("DoShowModal() called twice") );
+ wxCHECK_RET( !IsModal(), wxT("DoShowModal() called twice") );
wxModalDialogs.Append(this);
s_macIsInModalLoop = true ;
#endif
- while ( IsModalShowing() )
+ while ( IsModal() )
{
wxTheApp->MacDoOneEvent() ;
// calls process idle itself