From 0bb8d9db45940afab64d0dd0a10efa2c237563be Mon Sep 17 00:00:00 2001 From: Claire Mouton Date: Wed, 23 May 2012 13:59:56 +0000 Subject: [PATCH] Removed useless close buttons on 3 bbEditor left panels. --- kernel/src/bbtkWxGUIPackageBrowser2.cxx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/kernel/src/bbtkWxGUIPackageBrowser2.cxx b/kernel/src/bbtkWxGUIPackageBrowser2.cxx index 7fde920..7b7c722 100644 --- a/kernel/src/bbtkWxGUIPackageBrowser2.cxx +++ b/kernel/src/bbtkWxGUIPackageBrowser2.cxx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbtkWxGUIPackageBrowser2.cxx,v $ Language: C++ - Date: $Date: 2010/10/11 06:30:33 $ - Version: $Revision: 1.24 $ + Date: $Date: 2012/05/23 13:59:56 $ + Version: $Revision: 1.25 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -814,6 +814,8 @@ namespace bbtk mBoxList->SetUser(this); mBoxList->SetBackgroundColour(*wxWHITE); + +// JGRR & CM DISABLED CLOSE BUTTON m_mgr.AddPane(mBoxList, wxAuiPaneInfo().Name(wxT("BoxList")) .Caption(wxT("Black Boxes")) @@ -821,12 +823,14 @@ namespace bbtk .MaximizeButton(true) .Center() .MinSize(wxSize(100,100)) + .CloseButton(false) ); // sizer->Add(mBoxList,5,wxGROW); mBoxInfo = new WxGUIBlackBoxInfo(this); // sizer->Add(mBoxInfo,3,wxGROW); +// JGRR & CM DISABLED CLOSE BUTTON m_mgr.AddPane(mBoxInfo, wxAuiPaneInfo().Name(wxT("Box")) .Caption(wxT("")) @@ -834,6 +838,7 @@ namespace bbtk .MaximizeButton(true) .Bottom() .MinSize(wxSize(100,300)) + .CloseButton(false) ); wxPanel* filters = new wxPanel(this,-1); @@ -925,13 +930,16 @@ namespace bbtk filters->SetSizer(fsizer); +// JGRR & CM DISABLED CLOSE BUTTON m_mgr.AddPane(filters, wxAuiPaneInfo().Name(wxT("Filter")) .Caption(wxT("Filter")) .MinimizeButton(true) .MaximizeButton(true) .Right() - .MinSize(wxSize(100,100)) ); + .MinSize(wxSize(100,100)) + .CloseButton(false) +); // sizer->Add(fsizer,1,wxGROW); m_mgr.Update(); -- 2.47.1