diff options
| author | Manolo Gouy <Manolo> | 2015-12-13 10:26:09 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-12-13 10:26:09 +0000 |
| commit | 69644d4032d98f4bd04fa6d7807f6a4564a46ac0 (patch) | |
| tree | 8c312a3903fe6575aefb8d064d641b9c59073e2a /src | |
| parent | 09cd712c0d0e337bc7505cb8ae00d1a3fdbe8ee5 (diff) | |
Allowing to use FLTK objects in static initializers (cont'd).
Case of Fl_Native_File_Chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10963 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Native_File_Chooser_GTK.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Native_File_Chooser_GTK.cxx b/src/Fl_Native_File_Chooser_GTK.cxx index bc5bd6862..27d744586 100644 --- a/src/Fl_Native_File_Chooser_GTK.cxx +++ b/src/Fl_Native_File_Chooser_GTK.cxx @@ -375,6 +375,7 @@ int Fl_GTK_File_Chooser::show() char *p; char *before = NULL; static char *gtk_wants = NULL; + fl_open_display(); // record in before the calling program's current locale p = setlocale(LC_ALL, NULL); if (p) before = strdup(p); |
