git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32463
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
_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);
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) )