]> Creatis software - bbtk.git/commitdiff
Removed useless close buttons on 3 bbEditor left panels.
authorClaire Mouton <Claire.Mouton@creatis.insa-lyon.fr>
Wed, 23 May 2012 13:59:56 +0000 (13:59 +0000)
committerClaire Mouton <Claire.Mouton@creatis.insa-lyon.fr>
Wed, 23 May 2012 13:59:56 +0000 (13:59 +0000)
kernel/src/bbtkWxGUIPackageBrowser2.cxx

index 7fde9202edb143b53f2088bb449f33ec76bd1736..7b7c7222f82386b43ffc5db0773d28e4c727ac73 100644 (file)
@@ -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();