From 792cfc27e772c1e686f35134336e5ddb07cb5f1c Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 18 Mar 2024 18:22:41 +0100 Subject: [PATCH] native-filechooser has preview panel with FLTK_USE_X11 and macOS --- test/native-filechooser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/native-filechooser.cxx b/test/native-filechooser.cxx index 0af25845d..4dc7ff0ae 100644 --- a/test/native-filechooser.cxx +++ b/test/native-filechooser.cxx @@ -91,7 +91,7 @@ int main(int argc, char **argv) { 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_File_Icon::load_system_icons(); #endif