X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5193b348e83ce2d8117e96ee269a099e2528f544..3d2d9036037d9ee51f47d878c3dcef4af4a6ef41:/wxPython/wx/lib/scrolledpanel.py diff --git a/wxPython/wx/lib/scrolledpanel.py b/wxPython/wx/lib/scrolledpanel.py index 851d9332fa..3b134234cf 100644 --- a/wxPython/wx/lib/scrolledpanel.py +++ b/wxPython/wx/lib/scrolledpanel.py @@ -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)