X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a8d232e8e3567d2db0b33fb72ca8287fa716bb7..ec74e459716d5823d40a4546ec91a6188f570dd1:/wxPython/demo/CollapsiblePane.py diff --git a/wxPython/demo/CollapsiblePane.py b/wxPython/demo/CollapsiblePane.py index 15ab9ad54a..2c35d712ad 100644 --- a/wxPython/demo/CollapsiblePane.py +++ b/wxPython/demo/CollapsiblePane.py @@ -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())