refactored code to do brush adjustment for bg drawing in only one place

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-11-19 19:53:03 +00:00
parent 48fa6bd38a
commit 5c836c463a
3 changed files with 57 additions and 36 deletions

View File

@@ -167,7 +167,9 @@ public:
// get the brush to be used for painting the background for the controls
// which need it in their MSWControlColor()
WXHBRUSH GetThemeBackgroundBrush() const { return m_hbrBackground; }
//
// the brush will be adjusted for use with the given window on this DC
WXHBRUSH GetThemeBackgroundBrush(WXHDC hDC, wxWindow *win) const;
#endif // wxUSE_UXTHEME
protected: