git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31879
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
dc.SetBrush(wxBrush(win->GetBackgroundColour()));
dc.SetPen(wxPen(win->GetBackgroundColour()));
{
dc.SetBrush(wxBrush(win->GetBackgroundColour()));
dc.SetPen(wxPen(win->GetBackgroundColour()));
- dc.DrawRectangle(0, 0, rect.width, rect.height);
+ dc.DrawRectangle(rect);
{
wxPoint(0, 0),
wxPoint(rect.width, 0),
{
wxPoint(0, 0),
wxPoint(rect.width, 0),
};
dc.SetBrush(wxBrush(win->GetForegroundColour()));
dc.SetPen(wxPen(win->GetForegroundColour()));
};
dc.SetBrush(wxBrush(win->GetForegroundColour()));
dc.SetPen(wxPen(win->GetForegroundColour()));
- dc.DrawPolygon(WXSIZEOF(pt), pt);
+ dc.DrawPolygon(3, pt, rect.x, rect.y);