summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Search_Chooser.cxx1
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);