]> git.saurik.com Git - wxWidgets.git/commitdiff
Added wxNB_NOPAGETHEME and GetThemeBackgroundColour
authorRobin Dunn <robin@alldunn.com>
Mon, 7 Feb 2005 20:41:57 +0000 (20:41 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 7 Feb 2005 20:41:57 +0000 (20:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_notebook.i

index 4edc1f517b8f9405d004fd84676ebf51113a7373..281998f9c704cf7734a49e703bdbbb06fc9eb591 100644 (file)
@@ -154,6 +154,7 @@ enum {
     wxNB_RIGHT,
     wxNB_BOTTOM,
     wxNB_MULTILINE,
     wxNB_RIGHT,
     wxNB_BOTTOM,
     wxNB_MULTILINE,
+    wxNB_NOPAGETHEME,
 
     // hittest flags
     wxNB_HITTEST_NOWHERE = 1,   // not on tab
 
     // hittest flags
     wxNB_HITTEST_NOWHERE = 1,   // not on tab
@@ -213,6 +214,10 @@ wx.NB_HITTEST flags.", "");
     // implement some base class functions
     virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;
 
     // 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
+    wxColour GetThemeBackgroundColour() const;
+    
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 };
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 };