Made the ctor signature match the standard...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-02-28 00:18:00 +00:00
parent 44c2734d93
commit b85fd46650

View File

@@ -171,8 +171,10 @@ class PlotGraphics:
class PlotCanvas(wx.wxWindow): class PlotCanvas(wx.wxWindow):
def __init__(self, parent, id = -1): def __init__(self, parent, id=-1,
wx.wxWindow.__init__(self, parent, id, wx.wxPyDefaultPosition, wx.wxPyDefaultSize) pos = wx.wxDefaultPosition, size = wx.wxDefaultSize,
style = 0, name = 'plotCanvas'):
wx.wxWindow.__init__(self, parent, id, pos, size, style, name)
self.border = (1,1) self.border = (1,1)
self.SetClientSizeWH(400,400) self.SetClientSizeWH(400,400)
self.SetBackgroundColour(wx.wxNamedColour("white")) self.SetBackgroundColour(wx.wxNamedColour("white"))