+ // translate wxWin styles to the Windows ones
+ virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const;
+
+ // remove one page from the notebook, without deleting
+ virtual wxNotebookPage *DoRemovePage(size_t nPage);
+
+ // set the size of the given page to fit in the notebook
+ void AdjustPageSize(wxNotebookPage *page);
+
+#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();