Lines Matching refs:theme
268 // Fix a bug on e.g. the Silver theme on WinXP where control backgrounds
1507 wxUxThemeEngine *theme = wxUxThemeEngine::GetIfActive();
1508 if ( theme )
1511 hr = theme->DrawThemeParentBackground(GetHwnd(), hdc, &rect);
1522 // Only draw a rebar theme on Vista, since it doesn't jive so well with XP
1525 wxUxThemeEngine *theme = wxUxThemeEngine::GetIfActive();
1526 if ( theme )
1534 HRESULT hr = theme->DrawThemeBackground(hTheme, hdc, 0, 0, & r, NULL);
1710 wxUxThemeEngine *theme = wxUxThemeEngine::GetIfActive();
1711 if ( theme )
1724 HRESULT hr = theme->DrawThemeBackground(hTheme, (HDC) dc.GetHDC(), 0, 0, & r, & clipRect);