]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/notebook.h
Oups...
[wxWidgets.git] / include / wx / notebook.h
index 0ba429a919970622305c5f33f06c4da5b04b12c0..d67a95e65a251badf87414fb768f60ae281a339d 100644 (file)
@@ -41,7 +41,7 @@ enum
 
 typedef wxWindow wxNotebookPage;  // so far, any window can be a page
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxNotebookNameStr;
+extern WXDLLEXPORT_DATA(const wxChar*) wxNotebookNameStr;
 
 #if WXWIN_COMPATIBILITY_2_4
     #define wxNOTEBOOK_NAME wxNotebookNameStr
@@ -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)
 };