wxUxThemeEngine::Get()->DrawThemeBackground
(
hTheme,
- dc.GetHDC(),
+ (HDC) dc.GetHDC(),
CP_DROPDOWNBUTTON,
state,
&r,
{
if ( !win->HasFlag(wxSP_NO_XP_THEME) )
{
- wxUxThemeHandle hTheme(win, L"WINDOW");
+ wxUxThemeHandle hTheme(win, L"REBAR");
if ( hTheme )
{
RECT rect;
wxUxThemeEngine::Get()->DrawThemeBackground
(
- (WXHTHEME)hTheme,
- dc.GetHDC(),
+ hTheme,
+ (HDC) dc.GetHDC(),
29, // WP_DIALOG: dlg background
0, // no particular state
&rect,