Use self.GetCanvas() instead of just self.GetCanvas

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-03-25 00:14:46 +00:00
parent 6802574779
commit 9c6e3c5714

View 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)