From 5e9a5f30236248babbaca26b241467c5d3211423 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 18 Feb 2009 09:27:54 +0000 Subject: Modified all public widget draw methods to be protected. ToDo: Documentation updates. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Value_Input.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_Value_Input.cxx b/src/Fl_Value_Input.cxx index 1ac7a6958..60f204eb4 100644 --- a/src/Fl_Value_Input.cxx +++ b/src/Fl_Value_Input.cxx @@ -52,7 +52,7 @@ void Fl_Value_Input::draw() { if (damage()&~FL_DAMAGE_CHILD) input.clear_damage(FL_DAMAGE_ALL); input.box(box()); input.color(color(), selection_color()); - input.draw(); + Fl_Widget *i = &input; i->draw(); // calls protected input.draw() input.clear_damage(); } -- cgit v1.2.3