From fee0004a53a29b36508ad508f3aa33c47a73a99a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 9 Apr 2009 07:56:47 +0000 Subject: fix documentation of draw(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Widget.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index af8b3000e..9ee3c0830 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -181,7 +181,7 @@ public: Override this function to draw your own widgets. If you ever need to call another widget's draw method from within your - own draw method, e.g. for an embedded scrollbar, you must downcast the + own draw method, e.g. for an embedded scrollbar, you must upcast the embedded widget's pointer to Fl_Widget* and call the virtual draw() method. \code -- cgit v1.2.3