Skip to content
Snippets Groups Projects
Commit bb664eeb authored by Rene Brun's avatar Rene Brun
Browse files

Implement a suggestion from Yuri Fisiak in TCanvas::Draw.

The call to fCanvasImp->Show is moved after the call to ResizePad.


git-svn-id: http://root.cern.ch/svn/root/trunk@15712 27541ba8-7e3a-0410-8455-c3a389f83636
parent 5685b55e
No related branches found
No related tags found
No related merge requests found
// @(#)root/gpad:$Name: $:$Id: TCanvas.cxx,v 1.112 2006/05/30 07:30:41 brun Exp $
// @(#)root/gpad:$Name: $:$Id: TCanvas.cxx,v 1.113 2006/07/03 16:10:44 brun Exp $
// Author: Rene Brun 12/12/94
/*************************************************************************
......@@ -720,10 +720,10 @@ void TCanvas::Draw(Option_t *)
fCanvasImp = gGuiFactory->CreateCanvasImp(this, GetName(), fWindowTopX, fWindowTopY,
fWindowWidth, fWindowHeight);
fCanvasImp->ShowMenuBar(TestBit(kMenuBar));
fCanvasImp->Show();
Build();
ResizePad();
fCanvasImp->Show();
Modified();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment