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
This commit is contained in:
parent
2816583b83
commit
9290da74b7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user