Commit b77ce7a2 authored by Spencer Bliven's avatar Spencer Bliven

Adding w,h parameters to BufferedCanvas.draw

All subclasses of BufferedCanvas require dimensions,
so the interface should be consistent.
parent a1c51e86
......@@ -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.
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment