summaryrefslogtreecommitdiff
path: root/test/native-filechooser.cxx
diff options
context:
space:
mode:
authorIan MacArthur <imacarthur@gmail.com>2010-01-14 19:57:08 +0000
committerIan MacArthur <imacarthur@gmail.com>2010-01-14 19:57:08 +0000
commit209e1bfea12f291b58a1404938b05f35e5ec1d6d (patch)
treeb01d63490c546372805e8746815ab5308d558704 /test/native-filechooser.cxx
parentc193aa13aa043b2c884ce9cca97fd7203e7b9838 (diff)
Argh - sorry, my bad... Will not build cleanly on OSX, needs a little tweak.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7002 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/native-filechooser.cxx')
-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();