Adding w,h parameters to BufferedCanvas.draw
All subclasses of BufferedCanvas require dimensions, so the interface should be consistent.master
parent
a1c51e8646
commit
b77ce7a2e7
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue