X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f07067b7da2a4a036a87cd5ad26bffbac4dccc35..6b5e5f48053ab30f80367a2f5b32834260080ab6:/src/msw/renderer.cpp?ds=inline diff --git a/src/msw/renderer.cpp b/src/msw/renderer.cpp index 610e58ef1b..44cef6df14 100644 --- a/src/msw/renderer.cpp +++ b/src/msw/renderer.cpp @@ -196,7 +196,7 @@ wxRendererXP::DrawComboBoxDropButton(wxWindow * win, wxUxThemeEngine::Get()->DrawThemeBackground ( hTheme, - dc.GetHDC(), + (HDC) dc.GetHDC(), CP_DROPDOWNBUTTON, state, &r, @@ -244,7 +244,7 @@ wxRendererXP::DrawSplitterSash(wxWindow *win, { if ( !win->HasFlag(wxSP_NO_XP_THEME) ) { - wxUxThemeHandle hTheme(win, L"WINDOW"); + wxUxThemeHandle hTheme(win, L"REBAR"); if ( hTheme ) { RECT rect; @@ -265,8 +265,8 @@ wxRendererXP::DrawSplitterSash(wxWindow *win, wxUxThemeEngine::Get()->DrawThemeBackground ( - (WXHTHEME)hTheme, - dc.GetHDC(), + hTheme, + (HDC) dc.GetHDC(), 29, // WP_DIALOG: dlg background 0, // no particular state &rect,