]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wizard.h
Catching dclick event from a spinbutton or spin control
[wxWidgets.git] / include / wx / wizard.h
index ce716c5627b4df4640979812438c8f0379817027..8ff916d7a0289da7374559647a05d3e0828d42e6 100644 (file)
@@ -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