summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-18 18:22:41 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-03-18 18:22:41 +0100
commit792cfc27e772c1e686f35134336e5ddb07cb5f1c (patch)
tree71a610eb5a4d59e9213aabee2ba3b0745e6a57dc
parentaac5e488756e794099dadd5fce217f37a07a3ada (diff)
native-filechooser has preview panel with FLTK_USE_X11 and macOS
-rw-r--r--test/native-filechooser.cxx2
1 files changed, 1 insertions, 1 deletions
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