]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/renderg.cpp
switch OSX implementations to unicode text ctrl meanwhile
[wxWidgets.git] / src / generic / renderg.cpp
index e6f8b156be0a7bdd863c003d322398ee0389a967..2a6c00da5f0e3eeadffd837cb69260dd6ff42fcc 100644 (file)
@@ -353,15 +353,15 @@ wxRendererGeneric::DrawComboBoxDropButton(wxWindow *win,
     dc.SetPen(wxPen(win->GetBackgroundColour()));
     dc.DrawRectangle(rect);
 
-    wxPoint pt[3] =
+    wxPoint pt[] =
     {
-        wxPoint(),
+        wxPoint(0,0),
         wxPoint(rect.width, 0),
         wxPoint(rect.width/2, rect.height - 2)
     };
     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);
 }