Adding w,h parameters to BufferedCanvas.draw

All subclasses of BufferedCanvas require dimensions,
so the interface should be consistent.
master
Spencer Bliven 2013-05-02 15:00:36 -07:00
parent a1c51e8646
commit b77ce7a2e7
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class BufferedCanvas(wx.Panel):
## General methods
##
def draw(self, dc):
def draw(self, dc, w, h):
"""
Stub: called when the canvas needs to be re-drawn.
"""