From 532e8fd93b6ce4e0fc4eb7cdf00c1d36e04d401f Mon Sep 17 00:00:00 2001 From: Bertrand Bellenot <Bertrand.Bellenot@cern.ch> Date: Mon, 20 Jun 2011 13:43:39 +0000 Subject: [PATCH] Remove useless (and even confusing) calls to SetFillColor() and SetFillStyle() in one example git-svn-id: http://root.cern.ch/svn/root/trunk@39830 27541ba8-7e3a-0410-8455-c3a389f83636 --- docbook/users-guide/WritingGUI.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/docbook/users-guide/WritingGUI.xml b/docbook/users-guide/WritingGUI.xml index 18dacf22b7a..67b4c5ff226 100644 --- a/docbook/users-guide/WritingGUI.xml +++ b/docbook/users-guide/WritingGUI.xml @@ -129,8 +129,6 @@ MyMainFrame::MyMainFrame(const TGWindow *p,UInt_t w,UInt_t h) { void MyMainFrame::DoDraw() { <emphasis role="italic">// Draws function graphics in randomly choosen interval</emphasis> TF1 *f1 = new TF1("f1","sin(x)/x",0,gRandom->Rndm()*10); - f1->SetFillColor(19); - f1->SetFillStyle(1); f1->SetLineWidth(3); f1->Draw(); TCanvas *fCanvas = fEcanvas->GetCanvas(); -- GitLab