don't hardcode the array size as done by last commit, just what exactly was the point of this change?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2e5c710e90
commit
106a79999d
@ -353,7 +353,7 @@ wxRendererGeneric::DrawComboBoxDropButton(wxWindow *win,
|
||||
dc.SetPen(wxPen(win->GetBackgroundColour()));
|
||||
dc.DrawRectangle(rect);
|
||||
|
||||
wxPoint pt[3] =
|
||||
wxPoint pt[] =
|
||||
{
|
||||
wxPoint(),
|
||||
wxPoint(rect.width, 0),
|
||||
@ -361,7 +361,7 @@ wxRendererGeneric::DrawComboBoxDropButton(wxWindow *win,
|
||||
};
|
||||
dc.SetBrush(wxBrush(win->GetForegroundColour()));
|
||||
dc.SetPen(wxPen(win->GetForegroundColour()));
|
||||
dc.DrawPolygon(3, pt, rect.x, rect.y);
|
||||
dc.DrawPolygon(WXSIZEOF(pt), pt, rect.x, rect.y);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user