Can suppress themed notebook page with wxNB_NOPAGETHEME or
setting system option msw.notebook.themed-background to 0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1471,6 +1471,7 @@ enum wxBorder
|
||||
#define wxNB_RIGHT 0x0040
|
||||
#define wxNB_BOTTOM 0x0080
|
||||
#define wxNB_MULTILINE 0x0100
|
||||
#define wxNB_NOPAGETHEME 0x0200
|
||||
#define wxNB_DEFAULT wxNB_TOP
|
||||
|
||||
/*
|
||||
|
@@ -167,6 +167,8 @@ public:
|
||||
virtual bool DoPhase(int nPhase);
|
||||
#endif // wxUSE_CONSTRAINTS
|
||||
|
||||
// Attempts to get colour for UX theme page background
|
||||
wxColour GetThemeBackgroundColour() const;
|
||||
|
||||
// implementation only
|
||||
// -------------------
|
||||
|
@@ -91,6 +91,9 @@ public:
|
||||
// implement some base class functions
|
||||
virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;
|
||||
|
||||
// On platforms that support it, get the theme page background colour, else invalid colour
|
||||
virtual wxColour GetThemeBackgroundColour() const { return wxNullColour; }
|
||||
|
||||
protected:
|
||||
DECLARE_NO_COPY_CLASS(wxNotebookBase)
|
||||
};
|
||||
|
Reference in New Issue
Block a user