native-filechooser has preview panel with FLTK_USE_X11 and macOS

This commit is contained in:
ManoloFLTK 2024-03-18 18:22:41 +01:00
parent aac5e48875
commit 792cfc27e7
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ int main(int argc, char **argv) {
None of that is useful for the native file chooser under macOS or Windows. None of that is useful for the native file chooser under macOS or Windows.
*/ */
#if !defined(_WIN32) && !defined(__APPLE__) #if defined(FLTK_USE_X11) || defined(FLTK_USE_WAYLAND)
fl_register_images(); fl_register_images();
Fl_File_Icon::load_system_icons(); Fl_File_Icon::load_system_icons();
#endif #endif