]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/toplevel.h
include wx/object.h now that wxConfigBase derives from wxObject
[wxWidgets.git] / include / wx / motif / toplevel.h
index ae5e79cce943b1f36bcbd33feec4d899c8f06096..80e3f1d204fb4838004a7befc98e457230572cc9 100644 (file)
@@ -68,14 +68,8 @@ protected:
     virtual void DoGetPosition(int* x, int* y) const;
 
 private:
     virtual void DoGetPosition(int* x, int* y) const;
 
 private:
-#if wxCHECK_VERSION(2,7,0)
-    // DoDestroy() is not used anywhere else, DoCreate() should also be renamed
-    // in src/motif/dialog.cpp, frame.cpp and toplevel.cp
-    #error "Remove DoDestroy() and rename DoCreate() to XmDoCreateTLW(), they were only kept for binary backwards compatibility"
-#endif
-
     // really create the Motif widget for TLW
     // really create the Motif widget for TLW
-    virtual bool DoCreate(wxWindow* parent,
+    virtual bool XmDoCreateTLW(wxWindow* parent,
                                wxWindowID id,
                                const wxString& title,
                                const wxPoint& pos,
                                wxWindowID id,
                                const wxString& title,
                                const wxPoint& pos,
@@ -83,7 +77,6 @@ private:
                                long style,
                                const wxString& name) = 0;
 
                                long style,
                                const wxString& name) = 0;
 
-    virtual void DoDestroy() { }
 
     wxString m_title;
 };
 
     wxString m_title;
 };