Grr, looks like Fl_Group::update_child()

doesn't include drawing the label, so include drawing that explicitly.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9414 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano
2012-04-30 21:42:31 +00:00
parent f8d269725d
commit b395ce78de
+3 -1
View File
@@ -742,7 +742,9 @@ void Fl_Tree_Item::draw(int X, int &Y, int W, Fl_Widget *tree,
} // end non-child damage
// Draw child FLTK widget?
if ( widget() ) {
((Fl_Tree*)tree)->update_child(*widget()); // let group handle drawing child
((Fl_Tree*)tree)->update_child(*widget()); // let group handle drawing child
if ( widget()->label() )
((Fl_Tree*)tree)->draw_outside_label(*widget()); // label too
}
// Draw focus box around item's bg last
if ( this == itemfocus &&