]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bookctrl.h
make more Init() functions private
[wxWidgets.git] / include / wx / bookctrl.h
index 50087a252608a3042bb051708c62e3efbcf5a188..018d1200f6a99c5b6b3e42fcfa5cd9527fe08b26 100644 (file)
@@ -277,6 +277,11 @@ protected:
         { wxFAIL_MSG(wxT("Override this function!")); }
 
 
+    // The derived class also may override the following method, also called
+    // from DoSetSelection(), to show/hide pages differently.
+    virtual void DoShowPage(wxWindow* page, bool show) { page->Show(show); }
+
+
     // Should we accept NULL page pointers in Add/InsertPage()?
     //
     // Default is no but derived classes may override it if they can treat NULL