Author: greg.ercolano
Date: 2012-04-30 14:42:31 -0700 (Mon, 30 Apr 2012)
New Revision: 9414
Log:
Grr, looks like Fl_Group::update_child()
doesn't include drawing the label, so include drawing that explicitly.
Modified:
branches/branch-1.3/src/Fl_Tree_Item.cxx
Modified: branches/branch-1.3/src/Fl_Tree_Item.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Tree_Item.cxx 2012-04-30 21:22:57 UTC (rev
9413)
+++ branches/branch-1.3/src/Fl_Tree_Item.cxx 2012-04-30 21:42:31 UTC (rev
9414)
@@ -742,7 +742,9 @@
} // 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 &&
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit