From ab4cfe3bf53da18630a83d89d7b62d290423c98f Mon Sep 17 00:00:00 2001
From: Rene Brun <Rene.Brun@cern.ch>
Date: Wed, 7 May 2008 15:49:20 +0000
Subject: [PATCH] From Bertrand: - Disable the 'hide' function of
 TGDockableFrames

git-svn-id: http://root.cern.ch/svn/root/trunk@23724 27541ba8-7e3a-0410-8455-c3a389f83636
---
 tutorials/eve/SplitGLView.C | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tutorials/eve/SplitGLView.C b/tutorials/eve/SplitGLView.C
index 5959951eff3..49923646dec 100644
--- a/tutorials/eve/SplitGLView.C
+++ b/tutorials/eve/SplitGLView.C
@@ -737,6 +737,7 @@ SplitGLView::SplitGLView(const TGWindow *p, UInt_t w, UInt_t h, Bool_t embed) :
 
    dfrm = new TGDockableFrame(frm);
    dfrm->SetFixedSize(kFALSE);
+   dfrm->EnableHide(kFALSE);
    hfrm = new TGHorizontalFrame(dfrm);
    button= new TGPictureButton(hfrm, gClient->GetPicture("swap.png"));
    button->SetToolTipText("Swap to big view");
@@ -785,6 +786,7 @@ SplitGLView::SplitGLView(const TGWindow *p, UInt_t w, UInt_t h, Bool_t embed) :
    // create (embed) a GL viewer inside
    dfrm = new TGDockableFrame(frm);
    dfrm->SetFixedSize(kFALSE);
+   dfrm->EnableHide(kFALSE);
    hfrm = new TGHorizontalFrame(dfrm);
    button= new TGPictureButton(hfrm, gClient->GetPicture("swap.png"));
    button->SetToolTipText("Swap to big view");
@@ -827,6 +829,7 @@ SplitGLView::SplitGLView(const TGWindow *p, UInt_t w, UInt_t h, Bool_t embed) :
 
    dfrm = new TGDockableFrame(frm);
    dfrm->SetFixedSize(kFALSE);
+   dfrm->EnableHide(kFALSE);
    hfrm = new TGHorizontalFrame(dfrm);
    button= new TGPictureButton(hfrm, gClient->GetPicture("swap.png"));
    button->SetToolTipText("Swap to big view");
-- 
GitLab