summaryrefslogtreecommitdiff
path: root/FL/Fl_File_Chooser.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-12-13 09:36:14 +0000
committerManolo Gouy <Manolo>2015-12-13 09:36:14 +0000
commitcf14f77a901a64f12c5a103b782954692d8f6643 (patch)
treee4f8d9d1213233692c314cb02ee620ddf7cc7d41 /FL/Fl_File_Chooser.H
parent6bdb661c2af402eeb512f8d520f44e24e98e6cfb (diff)
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
Diffstat (limited to 'FL/Fl_File_Chooser.H')
-rw-r--r--FL/Fl_File_Chooser.H2
1 files changed, 1 insertions, 1 deletions
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];