return s_rendererMSW;
}
+#if defined(__WXWINCE__) && !defined(DFCS_FLAT)
+#define DFCS_FLAT 0
+#endif
+
void
wxRendererMSW::DrawComboBoxDropButton(wxWindow * WXUNUSED(win),
wxDC& dc,
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,