mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 22:51:41 +08:00
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:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user