removed code that already exist in ~wxTLWBase from ~wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
64b3c26259
commit
f0c3b72446
@ -40,8 +40,6 @@ public:
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = wxFrameNameStr);
|
||||
|
||||
virtual ~wxTopLevelWindowMGL();
|
||||
|
||||
// implement base class pure virtuals
|
||||
virtual void Maximize(bool maximize = true);
|
||||
virtual bool IsMaximized() const;
|
||||
|
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user