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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user