From 0dc136b4bdd7f36d0fa51412dc2dfaec34dee35b Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 1 Jun 2009 20:33:11 +0000 Subject: [PATCH] *** empty log message *** --- Fltk/fileDialogs.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Fltk/fileDialogs.cpp b/Fltk/fileDialogs.cpp index 9d0cdc22ca..d13f9655cc 100644 --- a/Fltk/fileDialogs.cpp +++ b/Fltk/fileDialogs.cpp @@ -31,12 +31,16 @@ // File chooser #if defined(HAVE_NATIVE_FILE_CHOOSER) + #include <FL/Fl_Native_File_Chooser.H> static Fl_Native_File_Chooser *fc = 0; + #else + #include <FL/Fl_File_Chooser.H> #include <FL/Fl_Window.H> #include <FL/Fl_File_Input.H> + class fileChooser : public Fl_File_Chooser { // we derive our own so we can set its position (The original file // chooser doesn't expose its window to the world, so we need to use @@ -67,7 +71,9 @@ class fileChooser : public Fl_File_Chooser { int x(){ if(_win) return _win->x(); else return 100; } int y(){ if(_win) return _win->y(); else return 100; } }; + static fileChooser *fc = 0; + #endif int file_chooser(int multi, int create, const char *message, -- GitLab