]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/toplevel.cpp
allow using both char* and wchar_t* in wxFileConfig and wxConfigBase, too
[wxWidgets.git] / src / mgl / toplevel.cpp
index 65a6371dbd7b03330807bd50c2652d3b06514a90..a4f10c308cf355f18ea62c531e7277c9f0cc9378 100644 (file)
@@ -109,22 +109,6 @@ bool wxTopLevelWindowMGL::Create(wxWindow *parent,
     return true;
 }
 
-wxTopLevelWindowMGL::~wxTopLevelWindowMGL()
-{
-    m_isBeingDeleted = true;
-
-    wxTopLevelWindows.DeleteObject(this);
-
-    if (wxTheApp->GetTopWindow() == this)
-        wxTheApp->SetTopWindow(NULL);
-
-    if (wxTopLevelWindows.IsEmpty() &&
-        wxTheApp->GetExitOnFrameDelete())
-    {
-        wxTheApp->ExitMainLoop();
-    }
-}
-
 bool wxTopLevelWindowMGL::ShowFullScreen(bool show, long style)
 {
     if (show == m_fsIsShowing) return false; // return what?