- dc.SetBrush(wxBrush(win->GetBackgroundColour()));
- dc.SetPen(wxPen(win->GetBackgroundColour()));
- dc.DrawRectangle(0, 0, rect.width, rect.height);
+ // FIXME: Is it worth to do a better implementation?
+ // Generic wxComboDropButton should be drawn using
+ // combination of wxBitmapButton and DrawDropArrow
+ // anyway.
+ DrawDropArrow(win,dc,rect);
+}
+
+
+void
+wxRendererGeneric::DrawDropArrow(wxWindow *win,
+ wxDC& dc,
+ const wxRect& rect,
+ int WXUNUSED(flags))
+{
+ // This generic implementation should be good
+ // enough for Windows platforms (including XP).