summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-05-13 15:51:47 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-05-13 15:51:47 +0000
commit7ea7823c829752201e7aec3540250d1c02bea44f (patch)
tree1cebc81a304999bd5b737648a2bc0f588e835909 /fluid
parentf953ffc27d816d4969f825b8adfb5106e15cfd63 (diff)
Expand menu item fix for all menu widgets (menu bar, menu button, choice,
submenu, etc.) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2216 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/file.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/file.cxx b/fluid/file.cxx
index 10c235084..b002c2651 100644
--- a/fluid/file.cxx
+++ b/fluid/file.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: file.cxx,v 1.7.2.6.2.3 2002/05/12 02:19:18 easysw Exp $"
+// "$Id: file.cxx,v 1.7.2.6.2.4 2002/05/13 15:51:47 easysw Exp $"
//
// Fluid file routines for the Fast Light Tool Kit (FLTK).
//
@@ -493,7 +493,7 @@ int read_file(const char *filename, int merge) {
Fl_Type::current = 0;
// Force menu items to be rebuilt...
for (Fl_Type *o = Fl_Type::first; o; o = o->next)
- if (o->is_menu_item()) o->add_child(0,0);
+ if (o->is_menu_button()) o->add_child(0,0);
for (Fl_Type *o = Fl_Type::first; o; o = o->next)
if (o->selected) {Fl_Type::current = o; break;}
return close_read();
@@ -631,5 +631,5 @@ void read_fdesign() {
}
//
-// End of "$Id: file.cxx,v 1.7.2.6.2.3 2002/05/12 02:19:18 easysw Exp $".
+// End of "$Id: file.cxx,v 1.7.2.6.2.4 2002/05/13 15:51:47 easysw Exp $".
//