From 991dc050e0379e17cb7c92ba3121ce47267ec32f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sun, 13 May 2007 02:18:25 +0000 Subject: [PATCH] Use the wx.CP_NO_TLW_RESIZE style git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/CollapsiblePane.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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())