]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/IntCtrl.py
wxCheckListBox doesn't require wxUSE_OWNER_DRAWN when using WXUNIVERSAL
[wxWidgets.git] / wxPython / demo / IntCtrl.py
index 16b5610eb5f3d1cdcac3e2aac4b1989d9d3cb47d..d80bedb41870b52a134d871a8ec4bf0c853ce309 100644 (file)
@@ -47,7 +47,7 @@ class TestPanel( wx.Panel ):
         grid.Add( self.target_ctl, 0, wx.ALIGN_LEFT|wx.ALL, 5 )
 
         outer_box = wx.BoxSizer( wx.VERTICAL )
-        outer_box.AddSizer( grid, 0, wx.ALIGN_CENTRE|wx.ALL, 20 )
+        outer_box.Add( grid, 0, wx.ALIGN_CENTRE|wx.ALL, 20 )
 
         panel.SetAutoLayout( True )
         panel.SetSizer( outer_box )