]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/ogl/_lines.py
Source cleaning.
[wxWidgets.git] / wxPython / wx / lib / ogl / _lines.py
index 66e891cf7e386f2a8396ac2c8b4b0eb40dfe1f38..8b9c0fba7717cfd9ff0b558ebf96e4dccbc11e55 100644 (file)
@@ -1021,7 +1021,7 @@ class LineShape(Shape):
         # Problem with pen - if not a solid pen, does strange things
         # to the arrowhead. So make (get) a new pen that's solid.
         if self._pen and self._pen.GetStyle() != wx.SOLID:
-            solid_pen = wx.ThePenList().FindOrCreatePen(self._pen.GetColour(), 1, wx.SOLID)
+            solid_pen = wx.ThePenList.FindOrCreatePen(self._pen.GetColour(), 1, wx.SOLID)
             if solid_pen:
                 dc.SetPen(solid_pen)