+ // Attempts to get colour for UX theme page background
+ wxColour GetThemeBackgroundColour() const;
+
+ // implementation only
+ // -------------------
+
+#if wxUSE_UXTHEME
+ virtual bool SetBackgroundColour(const wxColour& colour)
+ {
+ if ( !wxNotebookBase::SetBackgroundColour(colour) )
+ return false;
+
+ UpdateBgBrush();
+
+ return true;
+ }
+
+ // return the themed brush for painting our children
+ virtual WXHBRUSH MSWGetBgBrushForChild(WXHDC hDC, wxWindow *child);
+
+ // draw child background
+ virtual bool MSWPrintChild(WXHDC hDC, wxWindow *win);
+
+ virtual bool MSWHasInheritableBackground() const { return true; }
+#endif // wxUSE_UXTHEME
+
+ // translate wxWin styles to the Windows ones
+ virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const;
+