if (g_isIdle)
wxapp_install_idle_handler();
- win->Close();
+ if (win->IsEnabled())
+ win->Close();
return TRUE;
}
{
win->m_width = alloc->width;
win->m_height = alloc->height;
- win->UpdateSize();
+ win->GtkUpdateSize();
}
}
wxTheApp->SetTopWindow( (wxWindow*) NULL );
}
- if (wxTopLevelWindows.Number() == 0)
+ if ((wxTopLevelWindows.Number() == 0) &&
+ (wxTheApp->GetExitOnFrameDelete()))
{
wxTheApp->ExitMainLoop();
}
}
}
+void wxDialog::DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y), int WXUNUSED(width), int WXUNUSED(height) )
+{
+ wxFAIL_MSG( wxT("DoMoveWindow called for wxDialog") );
+}
+
void wxDialog::DoSetSize( int x, int y, int width, int height, int sizeFlags )
{
wxASSERT_MSG( (m_widget != NULL), wxT("invalid dialog") );