From 9215f35ef89bbadcfa8f67e839ff971eab69acfa Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 28 Apr 2000 14:19:47 +0000 Subject: [PATCH] small fix to the code I just commited git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/wizard.h | 3 ++- src/generic/wizard.cpp | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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); } // ----------------------------------------------------------------------------