From 5994addecaf731a9468b77a4d3bb4e93def7a6e7 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 3 Aug 2001 15:48:20 +0000 Subject: Fixed tooltips under WIN32 - no more toolbar buttons... Fl_Group::handle() didn't pass FL_RELEASE events to Fl_Browser_ and similar subclasses of Fl_Group; updated to pass only to widget that should receive the event. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_FileChooser.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Fl_FileChooser.cxx') diff --git a/src/Fl_FileChooser.cxx b/src/Fl_FileChooser.cxx index 9daf75e87..ffba23d5d 100644 --- a/src/Fl_FileChooser.cxx +++ b/src/Fl_FileChooser.cxx @@ -104,6 +104,7 @@ Fl_FileChooser::Fl_FileChooser(const char *d, const char *p, int t, const char * w->hotspot(o); { Fl_FileBrowser* o = fileList = new Fl_FileBrowser(10, 45, 355, 180); o->type(2); + o->when(FL_WHEN_RELEASE_ALWAYS); o->callback((Fl_Callback*)cb_fileList); Fl_Group::current()->resizable(o); w->hotspot(o); -- cgit v1.2.3