From 24a4e76432c6715fbfe2fcf5796d7a6bfb6d066b Mon Sep 17 00:00:00 2001 From: Rene Brun <Rene.Brun@cern.ch> Date: Wed, 30 Jan 2002 07:11:21 +0000 Subject: [PATCH] Add a comment in TPad::SetEditable to indicate that one cannot add a new object to the pad when the pad is declared non-editable. git-svn-id: http://root.cern.ch/svn/root/trunk@3811 27541ba8-7e3a-0410-8455-c3a389f83636 --- gpad/src/TPad.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gpad/src/TPad.cxx b/gpad/src/TPad.cxx index 538301dda77..ff3c3ee4614 100644 --- a/gpad/src/TPad.cxx +++ b/gpad/src/TPad.cxx @@ -1,4 +1,4 @@ -// @(#)root/gpad:$Name: $:$Id: TPad.cxx,v 1.65 2002/01/23 17:52:47 rdm Exp $ +// @(#)root/gpad:$Name: $:$Id: TPad.cxx,v 1.66 2002/01/24 11:39:28 rdm Exp $ // Author: Rene Brun 12/12/94 /************************************************************************* @@ -4142,8 +4142,9 @@ void TPad::SetFixedAspectRatio(Bool_t fixed) void TPad::SetEditable(Bool_t mode) { // Set pad editable yes/no - // If a pad is not editable, one cannot modify the pad and its objects - // via the mouse. + // If a pad is not editable: + // - one cannot modify the pad and its objects via the mouse. + // - one cannot add new objects to the pad fEditable = mode; -- GitLab