summaryrefslogtreecommitdiff
path: root/src/Fl_Choice.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-09-29 22:59:45 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-09-29 22:59:45 +0000
commit72b56edc2940e0279a551fa9182d5ffb16cc1953 (patch)
tree224ee91888baf40fb040e8854d7105885f94ab27 /src/Fl_Choice.cxx
parente7f3ad8691e0d2ef1b9c589d0fe702774182541d (diff)
Tooltips, and more tooltips.
Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff. Fix write_properties so it writes tooltips properly from FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Choice.cxx')
-rw-r--r--src/Fl_Choice.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Fl_Choice.cxx b/src/Fl_Choice.cxx
index 4fe373784..fef598b63 100644
--- a/src/Fl_Choice.cxx
+++ b/src/Fl_Choice.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Choice.cxx,v 1.10.2.5.2.1 2001/08/04 20:17:10 easysw Exp $"
+// "$Id: Fl_Choice.cxx,v 1.10.2.5.2.2 2001/09/29 22:59:45 easysw Exp $"
//
// Choice widget for the Fast Light Tool Kit (FLTK).
//
@@ -82,6 +82,10 @@ int Fl_Choice::handle(int e) {
if (!menu() || !menu()->text) return 0;
const Fl_Menu_Item* v;
switch (e) {
+ case FL_ENTER:
+ case FL_LEAVE:
+ return 1;
+
case FL_KEYBOARD:
if (Fl::event_key() != ' ') return 0;
case FL_PUSH:
@@ -110,5 +114,5 @@ int Fl_Choice::handle(int e) {
}
//
-// End of "$Id: Fl_Choice.cxx,v 1.10.2.5.2.1 2001/08/04 20:17:10 easysw Exp $".
+// End of "$Id: Fl_Choice.cxx,v 1.10.2.5.2.2 2001/09/29 22:59:45 easysw Exp $".
//