From: Vadim Zeitlin Date: Tue, 27 Aug 2002 15:37:54 +0000 (+0000) Subject: my previous backwards compatible fix wasn't really very compatible X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ef66935925d1d5e542f70831baf65febe5a3c49a?ds=sidebyside my previous backwards compatible fix wasn't really very compatible git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/wizard.h b/include/wx/wizard.h index 03ffe9a649..ce716c5627 100644 --- a/include/wx/wizard.h +++ b/include/wx/wizard.h @@ -194,12 +194,12 @@ public: // wxWizard should be created using "new wxWizard" now, not with Create() #ifdef WXWIN_COMPATIBILITY_2_2 - wxWizard *Create(wxWindow *parent, - int id = -1, - const wxString& title = wxEmptyString, - const wxBitmap& bitmap = wxNullBitmap, - const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize); + static wxWizard *Create(wxWindow *parent, + int id = -1, + const wxString& title = wxEmptyString, + const wxBitmap& bitmap = wxNullBitmap, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize); #endif // WXWIN_COMPATIBILITY_2_2 };