]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/ogl/_lines.py
return correct client area for at least the primary display, fixes the problems with...
[wxWidgets.git] / wxPython / wx / lib / ogl / _lines.py
index fdee0ed6b5f400eb6b83058272cdea0d02a95a9a..d4da07dbd23e2ec6fcb7eb39ba03136641353e81 100644 (file)
@@ -350,7 +350,7 @@ class LineShape(Shape):
                         y2 = first_point[1]
                         y1 = last_point[1]
                     self._lineControlPoints[i] = wx.RealPoint((x2 - x1) / 2.0 + x1, (y2 - y1) / 2.0 + y1)
-                    self._initialised = True
+            self._initialised = True
                     
     def FormatText(self, dc, s, i):
         """Format a text string according to the region size, adding