added wxWizard::Fit()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-05-26 22:41:35 +00:00
parent ec5bb70d65
commit c73b439f80
4 changed files with 54 additions and 5 deletions

View File

@@ -177,6 +177,15 @@ public:
// get the size available for the page: the wizards are not resizeable, so
// this size doesn't change
virtual wxSize GetPageSize() const = 0;
// set the best size for the wizard, i.e. make it big enough to contain all
// of the pages starting from the given one
//
// this function may be called several times and possible with different
// pages in which case it will only increase the page size if needed (this
// may be useful if not all pages are accessible from the first one by
// default)
virtual void Fit(const wxWizardPage *firstPage) = 0;
};
// include the real class declaration