summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-02-06 01:26:56 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-02-06 01:26:56 +0000
commit9290da74b7eed36704fceaafb7d97a5ccbced96f (patch)
tree874a1dee6bf6f876fe4b5c9153adf477da018297 /src
parent2816583b839c4006a94af61ac41c54de4d7caa2a (diff)
Fl_Choice now allows click selection like Fl_Menu_Button and
Fl_Menubar (STR #706) src/Fl_Choice.cxx: - Fl_Chocie::handle(): remove call to event_is_click(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Choice.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_Choice.cxx b/src/Fl_Choice.cxx
index 4935ad025..a3589dd9d 100644
--- a/src/Fl_Choice.cxx
+++ b/src/Fl_Choice.cxx
@@ -131,7 +131,6 @@ int Fl_Choice::handle(int e) {
(Fl::event_state() & (FL_SHIFT | FL_CTRL | FL_ALT | FL_META))) return 0;
case FL_PUSH:
if (Fl::visible_focus()) Fl::focus(this);
- Fl::event_is_click(0);
J1:
v = menu()->pulldown(x(), y(), w(), h(), mvalue(), this);
if (!v || v->submenu()) return 1;