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 };