X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa6f64c7d8c6c7553e55823f30fc5a1c2ab76f4f..366e420233bc8590ef2fc333ba627267e6b81ca1:/include/wx/bookctrl.h?ds=sidebyside diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index 26f1f2d31c..3883770cf3 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -161,6 +161,9 @@ public: } } + virtual void ApplyParentThemeBackground(const wxColour& bg) + { SetBackgroundColour(bg); } + protected: // remove the page and return a pointer to it virtual wxWindow *DoRemovePage(size_t page) = 0; @@ -174,6 +177,8 @@ protected: // common part of all ctors void Init(); + // Always rely on GetBestSize, which will look at all the pages + virtual void SetInitialBestSize(const wxSize& WXUNUSED(size)) { } // the array of all pages of this control wxArrayPages m_pages;