From cf14f77a901a64f12c5a103b782954692d8f6643 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 13 Dec 2015 09:36:14 +0000 Subject: Allowing to use FLTK objects in static initializers (cont'd). For fl_file_chooser() and Fl_File_Chooser objects. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10961 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_File_Chooser.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H index 060ee13c7..6808c25b1 100644 --- a/FL/Fl_File_Chooser.H +++ b/FL/Fl_File_Chooser.H @@ -49,7 +49,7 @@ class FL_EXPORT Fl_File_Chooser { public: enum { SINGLE = 0, MULTI = 1, CREATE = 2, DIRECTORY = 4 }; private: - static Fl_Preferences prefs_; + static Fl_Preferences *prefs_; void (*callback_)(Fl_File_Chooser*, void *); void *data_; char directory_[FL_PATH_MAX]; -- cgit v1.2.3