From 45658d7c0fa768c50f5d7fa179013833f5503a76 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 17 Nov 2001 16:37:48 +0000 Subject: Add fl_beep() function. Don't allow non-int/float text to be pasted into an Fl_Int_Input or Fl_Float_Input widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Input.cxx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/Fl_Input.cxx') diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx index 5cc43f5e3..35817f5ff 100644 --- a/src/Fl_Input.cxx +++ b/src/Fl_Input.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Input.cxx,v 1.10.2.15.2.2 2001/09/29 22:59:45 easysw Exp $" +// "$Id: Fl_Input.cxx,v 1.10.2.15.2.3 2001/11/17 16:37:48 easysw Exp $" // // Input widget for the Fast Light Tool Kit (FLTK). // @@ -251,13 +251,6 @@ int Fl_Input::handle(int event) { if (Fl::focus() != this) { Fl::focus(this); handle(FL_FOCUS); -#if 0 // Misguided attempt to simulate Windoze select-all-on-first-click - // that it does for *some* (but not all) text fields: - if (type() != FL_MULTILINE_INPUT) { - position(size(), 0); // select everything - return 1; - } -#endif } break; @@ -283,5 +276,5 @@ Fl_Input::Fl_Input(int x, int y, int w, int h, const char *l) } // -// End of "$Id: Fl_Input.cxx,v 1.10.2.15.2.2 2001/09/29 22:59:45 easysw Exp $". +// End of "$Id: Fl_Input.cxx,v 1.10.2.15.2.3 2001/11/17 16:37:48 easysw Exp $". // -- cgit v1.2.3