X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab552aa4d7f70363c6a3c6dd5b26d144c23b271c..268c20fa314757f7e284b9380710bc6c2dca83fc:/wxPython/wx/lib/ogl/_basic.py diff --git a/wxPython/wx/lib/ogl/_basic.py b/wxPython/wx/lib/ogl/_basic.py index 757c5c2115..646a95af58 100644 --- a/wxPython/wx/lib/ogl/_basic.py +++ b/wxPython/wx/lib/ogl/_basic.py @@ -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)