X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7de4135b619a045593a42dcbb1d1e8a7858cdcc..1cbee0b42c9755a98104e3b1d8fd1133483ea54f:/include/wx/wizard.h diff --git a/include/wx/wizard.h b/include/wx/wizard.h index 3fa787cc25..e2a578c2a3 100644 --- a/include/wx/wizard.h +++ b/include/wx/wizard.h @@ -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 FitToPage(const wxWizardPage *firstPage) = 0; }; // include the real class declaration