]> git.saurik.com Git - wxWidgets.git/commitdiff
Bug fix from Pierre
authorRobin Dunn <robin@alldunn.com>
Fri, 12 Jan 2007 18:40:51 +0000 (18:40 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 12 Jan 2007 18:40:51 +0000 (18:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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