]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/CollapsiblePane.py
Remove const bool
[wxWidgets.git] / wxPython / demo / CollapsiblePane.py
index 15ab9ad54a2f2eb0ac8c7b6794392cd0dd8e9a69..2c35d712ad067eb0d4318a858ec40344b3100541 100644 (file)
@@ -19,7 +19,8 @@ class TestPanel(wx.Panel):
         title.SetFont(wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD))
         title.SetForegroundColour("blue")
 
-        self.cp = cp = wx.CollapsiblePane(self, label=label1)
+        self.cp = cp = wx.CollapsiblePane(self, label=label1,
+                                          style=wx.CP_DEFAULT_STYLE|wx.CP_NO_TLW_RESIZE)
         self.Bind(wx.EVT_COLLAPSIBLEPANE_CHANGED, self.OnPaneChanged, cp)
         self.MakePaneContent(cp.GetPane())