From d3acd6c475de7fb811c4bde93ca735e3526ad82f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 3 Nov 2001 05:11:34 +0000 Subject: Add Fl::visible_focus() method. Add optional "draw_symbols" argument to fl_draw and fl_measure functions. Fl_Repeat_Button didn't handle keyboard focus properly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Repeat_Button.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Fl_Repeat_Button.cxx') diff --git a/src/Fl_Repeat_Button.cxx b/src/Fl_Repeat_Button.cxx index dbe60f473..88e4f44a9 100644 --- a/src/Fl_Repeat_Button.cxx +++ b/src/Fl_Repeat_Button.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Repeat_Button.cxx,v 1.4.2.4 2001/01/22 15:13:40 easysw Exp $" +// "$Id: Fl_Repeat_Button.cxx,v 1.4.2.4.2.1 2001/11/03 05:11:34 easysw Exp $" // // Repeat button widget for the Fast Light Tool Kit (FLTK). // @@ -44,6 +44,7 @@ int Fl_Repeat_Button::handle(int event) { newval = 0; goto J1; case FL_PUSH: case FL_DRAG: + take_focus(); newval = Fl::event_inside(this); J1: if (value(newval)) { @@ -61,5 +62,5 @@ int Fl_Repeat_Button::handle(int event) { } // -// End of "$Id: Fl_Repeat_Button.cxx,v 1.4.2.4 2001/01/22 15:13:40 easysw Exp $". +// End of "$Id: Fl_Repeat_Button.cxx,v 1.4.2.4.2.1 2001/11/03 05:11:34 easysw Exp $". // -- cgit v1.2.3