// MGL initialization
//-----------------------------------------------------------------------------
-static bool wxCreateMGL_WM(const wxDisplayModeInfo& displayMode)
+static bool wxCreateMGL_WM(const wxVideoMode& displayMode)
{
int mode;
int refresh = MGL_DEFAULT_REFRESH;
{
}
-wxDisplayModeInfo wxGetDefaultDisplayMode()
+wxVideoMode wxGetDefaultDisplayMode()
{
wxString mode;
unsigned w, h, bpp;
w = 640, h = 480, bpp = 16;
}
- return wxDisplayModeInfo(w, h, bpp);
+ return wxVideoMode(w, h, bpp);
}
-bool wxApp::SetDisplayMode(const wxDisplayModeInfo& mode)
+bool wxApp::SetDisplayMode(const wxVideoMode& mode)
{
if ( !mode.IsOk() )
{
return TRUE;
}
-bool wxApp::Initialized()
-{
- return wxTopLevelWindows.GetCount() != 0;
-}
-
bool wxApp::Initialize(int& argc, wxChar **argv)
{
#ifdef __DJGPP__