From 9ed48bd74a12e4fbe875ac6a10d208f9f6e29f92 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 16 Dec 2001 16:41:48 +0000 Subject: Fix other widgets to use Fl::focus() instead of take_focus(). Add keyboard nav to Fl_Color_Chooser. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Counter.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Counter.cxx') diff --git a/src/Fl_Counter.cxx b/src/Fl_Counter.cxx index f850a98b6..97e36a8ce 100644 --- a/src/Fl_Counter.cxx +++ b/src/Fl_Counter.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Counter.cxx,v 1.8.2.3.2.4 2001/11/03 19:24:22 easysw Exp $" +// "$Id: Fl_Counter.cxx,v 1.8.2.3.2.5 2001/12/16 16:41:48 easysw Exp $" // // Counter widget for the Fast Light Tool Kit (FLTK). // @@ -131,7 +131,7 @@ int Fl_Counter::handle(int event) { handle_release(); return 1; case FL_PUSH: - if (Fl::visible_focus()) take_focus(); + if (Fl::visible_focus()) Fl::focus(this); handle_push(); case FL_DRAG: i = calc_mouseobj(); @@ -188,5 +188,5 @@ Fl_Counter::Fl_Counter(int x, int y, int w, int h, const char* l) } // -// End of "$Id: Fl_Counter.cxx,v 1.8.2.3.2.4 2001/11/03 19:24:22 easysw Exp $". +// End of "$Id: Fl_Counter.cxx,v 1.8.2.3.2.5 2001/12/16 16:41:48 easysw Exp $". // -- cgit v1.2.3