X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1832043f93af07af3f4891d9a95c4d4e1f70eec5..1c8c91463fcd1749ad285017397ef2edbf2ca6ec:/src/mgl/toplevel.cpp?ds=sidebyside diff --git a/src/mgl/toplevel.cpp b/src/mgl/toplevel.cpp index 65a6371dbd..a4f10c308c 100644 --- a/src/mgl/toplevel.cpp +++ b/src/mgl/toplevel.cpp @@ -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?