+#if wxUSE_UXTHEME
+ // this is a slightly ugly function which gets the bitmap of notebook
+ // background and either returns the colour under the specified window in it
+ // or creates a brush from it
+ //
+ // so if win == NULL, a brush is created and returned
+ // win != NULL, returns COLORREF of the pixel under its top left corner
+ WXHANDLE QueryBgBitmap(wxWindow *win = NULL);
+
+ // creates the brush to be used for drawing the tab control background
+ void UpdateBgBrush();
+
+ // paint themed children background here
+ virtual bool MSWPrintChild(wxWindow *win, WXWPARAM wParam, WXLPARAM lParam);
+#endif // wxUSE_UXTHEME
+
+ // the current selection (-1 if none)
+ int m_nSelection;
+
+ wxNotebookPageInfoList m_pageInfos;
+
+#if wxUSE_UXTHEME
+ // background brush used to paint the tab control
+ WXHBRUSH m_hbrBackground;
+#endif // wxUSE_UXTHEME
+
+
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxNotebook)