]> git.saurik.com Git - wxWidgets.git/commitdiff
use the passed in ID
authorRobin Dunn <robin@alldunn.com>
Wed, 4 May 2005 00:03:00 +0000 (00:03 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 4 May 2005 00:03:00 +0000 (00:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/scrolledpanel.py

index 851d9332fa9a075dd7e32466f680e7c1f07af3a5..3b134234cf377f3d3dd82fcd1f2c0be3fde8c200 100644 (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)