Minor fix of tree demo program (show tree widgets).

Clicking "Rebuild Tree" after "Close All" did not show the widgets
(Fl_Input test, ccc button, D1, D2). This is now fixed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2016-10-17 12:51:58 +00:00
parent bacced2c92
commit 183797e4a3

View File

@ -181,6 +181,7 @@ tree->add("Bbb/child-04");
in->tooltip("Fl_Input inside tree.\\n"
"The widget's label 'Fl_Input test' should appear to the widget's right.");
}
in->show();
i->widget(in);
tree->end();
}
@ -200,6 +201,7 @@ tree->add("Bbb/child-04");
"If 'Item h() from widget' enabled, "
"pressing button enlarges it.");
}
but->show();
i->widget(but);
tree->end();
}
@ -231,6 +233,7 @@ tree->add("Bbb/child-04");
grp->resizable(grp);
tree->end();
}
grp->show();
i->widget(grp);
}
}
@ -274,7 +277,8 @@ tree->close("500 Items"); // close the 500 items by default
AssignUserIcons();
tree->redraw();} {}
tree->redraw();
Fl_Group::current(0);} {}
}
Function {EditColor(Fl_Color &val)} {