diff --git a/include/wx/wizard.h b/include/wx/wizard.h index ee19faee0f..ec311b7cb9 100644 --- a/include/wx/wizard.h +++ b/include/wx/wizard.h @@ -123,7 +123,8 @@ public: int id = -1, const wxString& title = wxEmptyString, const wxBitmap& bitmap = wxNullBitmap, - const wxPoint& pos = wxDefaultPosition); + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize); // executes the wizard starting from the given page, returns TRUE if it was // successfully finished, FALSE if user cancelled it diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 58f7ecc2fc..89a309e9e4 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -367,9 +367,9 @@ wxWizard *wxWizardBase::Create(wxWindow *parent, const wxString& title, const wxBitmap& bitmap, const wxPoint& pos, - const wxSize& size) + const wxSize& WXUNUSED(size)) { - return new wxWizard(parent, id, title, bitmap, pos, size); + return new wxWizard(parent, id, title, bitmap, pos); } // ----------------------------------------------------------------------------