X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6463b9f5399b8670a0c74f2f8666bc2c9f37a406..b67e8d38b6dd7652ba4c73c7df7571d5148c087a:/include/wx/bookctrl.h 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;