adjust the rectangle before calling DrawThemeBackground() (patch 1158282)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-03-23 20:59:00 +00:00
parent 8de6b9bbb8
commit de359565ae
2 changed files with 56 additions and 34 deletions

View File

@@ -202,13 +202,8 @@ protected:
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);
// gets the bitmap of notebook background and returns a brush from it
WXHBRUSH QueryBgBitmap();
// creates the brush to be used for drawing the tab control background
void UpdateBgBrush();