diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 1970-01-01 01:05:39 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 1970-01-01 01:05:39 +0100 |
commit | 5d52cee064372bb7400e4fe537b9bab8d1502a3d (patch) | |
tree | 01a5a25a65fe80ce8b32e778b9c97a4561dc2f47 /dw/fltkui.cc | |
parent | e2fe24b904895dca8245ea5bac9c43abe7dc2012 (diff) | |
parent | 037c25162ba7a36e600f4e1366a206e4abf05020 (diff) |
merge
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r-- | dw/fltkui.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc index f3192c22..62928ed4 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -513,16 +513,7 @@ void FltkEntryResource::sizeRequest (core::Requisition *requisition) void FltkEntryResource::widgetCallback (Fl_Widget *widget, void *data) { - /* The (::fltk::event_key() == FL_Enter) test - * is necessary because WHEN_ENTER_KEY also includes - * other events we're not interested in. For instance pressing - * The Back or Forward, buttons, or the first click on a rendered - * page. BUG: this must be investigated and reported to FLTK2 team - */ - _MSG("when = %d\n", widget->when ()); - if ((widget->when () & FL_WHEN_ENTER_KEY_ALWAYS) && - (Fl::event_key() == FL_Enter)) - ((FltkEntryResource*)data)->emitActivate (); + ((FltkEntryResource*)data)->emitActivate (); } const char *FltkEntryResource::getText () |