#if defined(__SMARTPHONE__) && defined(__WXWINCE__)
0,GetCharHeight()
#else
- GetSystemMetrics(is_vertical ? SM_CXVSCROLL : SM_CXHSCROLL),
- GetSystemMetrics(is_vertical ? SM_CYVSCROLL : SM_CYHSCROLL)
+ ::GetSystemMetrics(is_vertical ? SM_CXVSCROLL : SM_CXHSCROLL),
+ ::GetSystemMetrics(is_vertical ? SM_CYVSCROLL : SM_CYHSCROLL)
#endif
);
WXHBRUSH hbr;
if ( colBg.Ok() )
{
+ ::SetBkColor(hdc, wxColourToRGB(colBg));
+
// draw children with the same colour as the parent
wxBrush *brush = wxTheBrushList->FindOrCreateBrush(colBg, wxSOLID);