From b042543a5eca160cbf8eab3ca1f2a7a1e4e62069 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 28 Sep 2004 14:11:06 +0000 Subject: [PATCH] trying to fix nicolas' compile problem --- Fltk/File_Picker.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Fltk/File_Picker.h b/Fltk/File_Picker.h index 3d54b6218f..439ee09890 100644 --- a/Fltk/File_Picker.h +++ b/Fltk/File_Picker.h @@ -21,6 +21,7 @@ // Please report all bugs and problems to <gmsh@geuz.org>. #include <FL/Fl_File_Chooser.H> +#include <FL/Fl_Window.H> // The FLTK team doesn't want to add a position() method to the file // chooser, so we have to derive our own. To make things worse, the @@ -31,11 +32,11 @@ class File_Picker : public Fl_File_Chooser { private: - Fl_Double_Window *_win; + Fl_Window *_win; public: File_Picker(const char *d, const char *p, int t, const char *title) : Fl_File_Chooser(d, p, t, title) { - _win = (Fl_Double_Window*)newButton->parent()->parent(); + _win = (Fl_Window*)newButton->parent()->parent(); } void show(){ _win->show(); } void position(int x, int y){ _win->position(x,y);} -- GitLab