Removed call to obsolete (and presumably redundant) SetPageSize

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-02-28 14:41:37 +00:00
parent 83dc6964f0
commit fa51336154

View File

@@ -385,7 +385,6 @@ void MyFrame::OnRunWizard(wxCommandEvent& WXUNUSED(event))
_T("The next pages will present you\nwith more useless controls."),
wxPoint(5,5)
);
wxSize size = text->GetBestSize();
// ... or a derived class
wxRadioboxPage *page3 = new wxRadioboxPage(wizard);
@@ -401,7 +400,7 @@ void MyFrame::OnRunWizard(wxCommandEvent& WXUNUSED(event))
page1->SetNext(page2);
page3->SetPrev(page2);
wizard->SetPageSize(size);
// allow the wizard to size itself around the pages
wizard->GetPageAreaSizer()->Add(page1);
if ( wizard->RunWizard(page1) )