]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
corrected typo in check for icc
[wxWidgets.git] / src / motif / frame.cpp
index bf63528fbac234443623ec6a821bfa550eb2cd4b..56b6ddefaa7d3f57aa79b55ac87626ac343bd055 100644 (file)
 // 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 )