diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-10-30 21:52:38 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-10-30 21:52:38 +0000 |
| commit | 8ad7e5ccc002031027318c3bc3ecbd3b2c0a86b8 (patch) | |
| tree | 5c43d0da3a2222cec29942d843d5931448f64d96 /test | |
| parent | b5a73c78e61c18f4d08aec39a6edf5b19b1dbfd4 (diff) | |
Added callback when double-clicking file in a file chooser (STR#2346)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/pixmap_browser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pixmap_browser.cxx b/test/pixmap_browser.cxx index 4df8c1fed..6841fe943 100644 --- a/test/pixmap_browser.cxx +++ b/test/pixmap_browser.cxx @@ -88,7 +88,7 @@ void file_cb(const char *n) { void button_cb(Fl_Widget *,void *) { fl_file_chooser_callback(file_cb); - fl_file_chooser("Image file?","*.{bm,bmp,gif,jpg,pbm,pgm,png,ppm,xbm,xpm}", name); + puts(fl_file_chooser("Image file?","*.{bm,bmp,gif,jpg,pbm,pgm,png,ppm,xbm,xpm}", name)); fl_file_chooser_callback(0); } |
