X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/005b12d8bee1a7b8594be8ddf37a3f121abfcf46..95dc31e001327d85048f5ab21498e4d3255831b2:/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