X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94c7b08817de7e79ee07088a0b9ab3c6b07ef583..ad0ac642d5764497804bee2caad4fc1f20fc6cea:/include/wx/motif/toplevel.h diff --git a/include/wx/motif/toplevel.h b/include/wx/motif/toplevel.h index eaca8020f6..061d263dc4 100644 --- a/include/wx/motif/toplevel.h +++ b/include/wx/motif/toplevel.h @@ -70,19 +70,17 @@ protected: void PreDestroy(); virtual void DoGetPosition(int* x, int* y) const; + private: - // both these functions should be pure virtual - virtual bool DoCreate( wxWindow* parent, wxWindowID id, - const wxString& title, - const wxPoint& pos, - const wxSize& size, - long style, - const wxString& name ) - { - return false; - } + // really create the Motif widget for TLW + virtual bool XmDoCreateTLW(wxWindow* parent, + wxWindowID id, + const wxString& title, + const wxPoint& pos, + const wxSize& size, + long style, + const wxString& name) = 0; - virtual void DoDestroy() { } wxString m_title; };