summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-04-26 06:45:29 +0000
committerBill Spitzak <spitzak@gmail.com>1999-04-26 06:45:29 +0000
commit5bf457ac24f4ac27ac75eafe8cb6f697c8b10ca5 (patch)
treeb9a00fb82d1a0e606221eff567dbc14e4a4c352a /fluid
parente46a0be2b5b2bdb524b3c49462fcd3cd11bf5ff6 (diff)
Tab, space, backtab, and backspace can be used to navigate through menus.
They act like up/down arrows except they circulate around at the end. Fixed a typo in fluid that made it not write when() correctly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Widget_Type.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx
index f815a98ec..90ae6f91a 100644
--- a/fluid/Fl_Widget_Type.cxx
+++ b/fluid/Fl_Widget_Type.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Widget_Type.cxx,v 1.15.2.3 1999/04/18 19:17:00 mike Exp $"
+// "$Id: Fl_Widget_Type.cxx,v 1.15.2.4 1999/04/26 06:45:25 bill Exp $"
//
// Widget type code for the Fast Light Tool Kit (FLTK).
//
@@ -1421,7 +1421,7 @@ void Fl_Widget_Type::write_widget_code() {
write_c(");\n");
}
if (o->when() != tplate->when())
- write_c("%so->when(%d);\n", indent(),item_name(whensymbolmenu, o->when()));
+ write_c("%so->when(%s);\n", indent(),item_name(whensymbolmenu, o->when()));
if (!o->visible() && o->parent())
write_c("%so->hide();\n", indent());
if (!o->active())
@@ -1750,5 +1750,5 @@ int Fl_Widget_Type::read_fdesign(const char* name, const char* value) {
}
//
-// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.3 1999/04/18 19:17:00 mike Exp $".
+// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.4 1999/04/26 06:45:25 bill Exp $".
//