X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ce7af354a12de8cf0d80d27f6958c6ccd95f766..b92203a8be20debe7615492c26969d17bcd7fa8d:/include/wx/msw/notebook.h diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index a2e6f84183..d85e7ce96c 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -87,10 +87,14 @@ public: // set the padding between tabs (in pixels) void SetPadding(const wxSize& padding); + // Windows only: attempts to get colour for UX theme page background + wxColour GetThemeBackgroundColour(); + // operations // ---------- // remove all pages bool DeleteAllPages(); + // inserts a new page to the notebook (it will be deleted ny the notebook, // don't delete it yourself). If bSelect, this page becomes active. bool InsertPage(int nPage, @@ -103,7 +107,13 @@ public: // style. void SetTabSize(const wxSize& sz); - // calculate the size of the notebook from the size of its page + // Windows only: attempts to apply the UX theme page background to this page + void ApplyThemeBackground(wxWindow* window, const wxColour& colour); + + // hit test + virtual int HitTest(const wxPoint& pt, long *flags = NULL) const; + + // calculate the size of the notebook from the size of its page virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const; // callbacks