diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-01-30 20:18:36 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-01-30 20:18:36 +0100 |
commit | acd75db184a16283fa3de257272ef0482f0c334c (patch) | |
tree | 18f298d17f8d9f32a76a704e8bbfaca0295e0e92 | |
parent | ac8bd97b61cd2ebcf0429860ace8069ce2976865 (diff) |
cancel Fl_Search_Chooser on Esc
-rw-r--r-- | src/Fl_Search_Chooser.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Search_Chooser.cxx b/src/Fl_Search_Chooser.cxx index f724354..b5e535f 100644 --- a/src/Fl_Search_Chooser.cxx +++ b/src/Fl_Search_Chooser.cxx @@ -64,6 +64,7 @@ static void cancel_cb(Fl_Input* in, void*c) { } Fl_Search_Chooser::Fl_Search_Chooser(const char *title) : Fl_Window(320, 320, title?title:"Choose") { + callback((Fl_Callback*) cancel_cb, this); visible_focus = Fl::visible_focus(); Fl::visible_focus(0); Fl_Group *g = new Fl_Group(10, 10, w() - 10, h() - 10); |