From 5bf457ac24f4ac27ac75eafe8cb6f697c8b10ca5 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Mon, 26 Apr 1999 06:45:29 +0000 Subject: 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 --- fluid/Fl_Widget_Type.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fluid') 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 $". // -- cgit v1.2.3