use the passed in ID

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-05-04 00:03:00 +00:00
parent 8bb039c8b2
commit e345fb0b32

View File

@ -35,7 +35,7 @@ class ScrolledPanel( wx.PyScrolledWindow ):
size = wx.DefaultSize, style = wx.TAB_TRAVERSAL,
name = "scrolledpanel"):
wx.PyScrolledWindow.__init__(self, parent, -1,
wx.PyScrolledWindow.__init__(self, parent, id,
pos=pos, size=size,
style=style, name=name)
self.SetBestFittingSize(size)