X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef66935925d1d5e542f70831baf65febe5a3c49a..f7a201b94e6b6160cb1d2b08d56f88941239ca56:/include/wx/wizard.h diff --git a/include/wx/wizard.h b/include/wx/wizard.h index ce716c5627..8ff916d7a0 100644 --- a/include/wx/wizard.h +++ b/include/wx/wizard.h @@ -201,6 +201,15 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize); #endif // WXWIN_COMPATIBILITY_2_2 + + // the methods below may be overridden by the derived classes to provide + // custom logic for determining the pages order + + virtual bool HasNextPage(wxWizardPage *page) + { return page->GetNext() != NULL; } + + virtual bool HasPrevPage(wxWizardPage *page) + { return page->GetPrev() != NULL; } }; // include the real class declaration