]> git.saurik.com Git - wxWidgets.git/commitdiff
Use self.GetCanvas() instead of just self.GetCanvas
authorRobin Dunn <robin@alldunn.com>
Sat, 25 Mar 2006 00:14:46 +0000 (00:14 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 25 Mar 2006 00:14:46 +0000 (00:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/ogl/_basic.py

index 757c5c2115da98632b52243ad34649c165f62b35..646a95af588c67fbbff6632f26ea87bb253e46e7 100644 (file)
@@ -1166,7 +1166,7 @@ class Shape(ShapeEvtHandler):
         """Flash the shape."""
         if self.GetCanvas():
             dc = wx.ClientDC(self.GetCanvas())
-            self.GetCanvas.PrepareDC(dc)
+            self.GetCanvas().PrepareDC(dc)
 
             dc.SetLogicalFunction(OGLRBLF)
             self.Draw(dc)