summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/native-filechooser.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/native-filechooser.cxx b/test/native-filechooser.cxx
index 57522ec96..3b6e22517 100644
--- a/test/native-filechooser.cxx
+++ b/test/native-filechooser.cxx
@@ -66,7 +66,9 @@ int main(int argc, char **argv) {
//// no icons will be shown. However, this means you do not need to link in the
//// fltk_images library, potentially reducing the size of your executable.
//// Loading the system icons is not required by the OSX or Windows native file choosers.
+#if !(defined WIN32) && !(defined __APPLE__)
Fl_File_Icon::load_system_icons();
+#endif
Fl_Window *win = new Fl_Window(600, 100, "Native File Chooser Test");
win->begin();