summaryrefslogtreecommitdiff
path: root/src/Fl_Input.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-11-17 16:37:48 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-11-17 16:37:48 +0000
commit45658d7c0fa768c50f5d7fa179013833f5503a76 (patch)
tree28cc5b7cb3313bc3aa1c36a04ad861b6030b9f70 /src/Fl_Input.cxx
parentefbe74758f28328ed734735cf0d5a631e7e28193 (diff)
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
Diffstat (limited to 'src/Fl_Input.cxx')
-rw-r--r--src/Fl_Input.cxx11
1 files changed, 2 insertions, 9 deletions
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 $".
//