diff --git a/include/wx/motif/dialog.h b/include/wx/motif/dialog.h index 65ebffbaba..dba81d148b 100644 --- a/include/wx/motif/dialog.h +++ b/include/wx/motif/dialog.h @@ -79,7 +79,7 @@ public: void OnCloseWindow(wxCloseEvent& event); private: - virtual bool XmDoCreateTLW(wxWindow* parent, + virtual bool DoCreate(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, diff --git a/include/wx/motif/frame.h b/include/wx/motif/frame.h index 9aa254904e..efb804eb05 100644 --- a/include/wx/motif/frame.h +++ b/include/wx/motif/frame.h @@ -117,7 +117,7 @@ private: virtual void DoSetClientSize(int width, int height); private: - virtual bool XmDoCreateTLW(wxWindow* parent, + virtual bool DoCreate(wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos,