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:
parent
8bb039c8b2
commit
e345fb0b32
@ -35,7 +35,7 @@ class ScrolledPanel( wx.PyScrolledWindow ):
|
|||||||
size = wx.DefaultSize, style = wx.TAB_TRAVERSAL,
|
size = wx.DefaultSize, style = wx.TAB_TRAVERSAL,
|
||||||
name = "scrolledpanel"):
|
name = "scrolledpanel"):
|
||||||
|
|
||||||
wx.PyScrolledWindow.__init__(self, parent, -1,
|
wx.PyScrolledWindow.__init__(self, parent, id,
|
||||||
pos=pos, size=size,
|
pos=pos, size=size,
|
||||||
style=style, name=name)
|
style=style, name=name)
|
||||||
self.SetBestFittingSize(size)
|
self.SetBestFittingSize(size)
|
||||||
|
Loading…
Reference in New Issue
Block a user