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
This commit is contained in:
@@ -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())
|
||||
|
||||
|
Reference in New Issue
Block a user