X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7f17c90e572031d950bfd3fd01b4107e87efd98..48f625bc2ce81132a2a8c2d7c524a03f1b7196e5:/src/motif/frame.cpp diff --git a/src/motif/frame.cpp b/src/motif/frame.cpp index bf63528fba..56b6ddefaa 100644 --- a/src/motif/frame.cpp +++ b/src/motif/frame.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "frame.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -196,12 +192,13 @@ bool wxFrame::Create(wxWindow *parent, return true; } -bool wxFrame::DoCreate( wxWindow* parent, wxWindowID id, - const wxString& title, - const wxPoint& pos, - const wxSize& size, - long style, - const wxString& name ) +bool wxFrame::DoCreate(wxWindow* parent, + wxWindowID id, + const wxString& title, + const wxPoint& pos, + const wxSize& size, + long style, + const wxString& name) { Widget frameShell; @@ -265,6 +262,10 @@ bool wxFrame::DoCreate( wxWindow* parent, wxWindowID id, return true; } +void wxFrame::DoDestroy() +{ +} + wxFrame::~wxFrame() { m_isBeingDeleted = true; @@ -292,11 +293,7 @@ wxFrame::~wxFrame() } PreDestroy(); - DoDestroy(); -} -void wxFrame::DoDestroy() -{ Widget frameShell = (Widget)GetShellWidget(); if( frameShell )