X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93f70fead94affa19c5f489c65a08b68ced1beee..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/msw/notebook.h diff --git a/include/wx/msw/notebook.h b/include/wx/msw/notebook.h index ac3a69cb5b..70993e4d61 100644 --- a/include/wx/msw/notebook.h +++ b/include/wx/msw/notebook.h @@ -142,9 +142,6 @@ public: return true; } - // return the themed brush for painting our children - virtual WXHBRUSH MSWGetBgBrushForChild(WXHDC hDC, wxWindow *child); - // draw child background virtual bool MSWPrintChild(WXHDC hDC, wxWindow *win); @@ -174,6 +171,9 @@ protected: void AdjustPageSize(wxNotebookPage *page); #if wxUSE_UXTHEME + // return the themed brush for painting our children + virtual WXHBRUSH MSWGetCustomBgBrush() { return m_hbrBackground; } + // gets the bitmap of notebook background and returns a brush from it WXHBRUSH QueryBgBitmap();