X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/005b12d8bee1a7b8594be8ddf37a3f121abfcf46..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/bookctrl.h diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index 50087a2526..018d1200f6 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -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