diff options
Diffstat (limited to 'src/Fl_File_Chooser.cxx')
| -rw-r--r-- | src/Fl_File_Chooser.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index b3fb06d53..f2acdb33b 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -28,6 +28,7 @@ // generated by Fast Light User Interface Designer (fluid) version 1.0107 #include "../FL/Fl_File_Chooser.H" +#include <FL/fl_draw.h> void Fl_File_Chooser::cb_window_i(Fl_Double_Window*, void*) { fileName->value(""); @@ -361,7 +362,6 @@ int w, h; okButton->measure_label(w, h); okButton->resize(cancelButton->x() - 50 - w, cancelButton->y(), w + 40, 25); -okButton->parent()->init_sizes(); } const char * Fl_File_Chooser::ok_label() { @@ -371,7 +371,10 @@ const char * Fl_File_Chooser::ok_label() { void Fl_File_Chooser::show() { window->hotspot(fileList); window->show(); +Fl::flush(); +fl_cursor(FL_CURSOR_WAIT); rescan(); +fl_cursor(FL_CURSOR_DEFAULT); fileName->take_focus(); } |
