From 807902f11968d78669d6eb56b40109e92bd2cf7a Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 7 Jan 2011 04:51:21 +0000 Subject: [PATCH] build fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/joytest/joytest.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/samples/joytest/joytest.cpp b/samples/joytest/joytest.cpp index 729073fe04..6bf7bc96c3 100644 --- a/samples/joytest/joytest.cpp +++ b/samples/joytest/joytest.cpp @@ -29,6 +29,12 @@ #include "joytest.h" +// the application icon (under Windows and OS/2 it is in resources and even +// though we could still include the XPM here it would be unused) +#if !defined(__WXMSW__) && !defined(__WXPM__) + #include "../sample.xpm" +#endif + MyFrame *frame = NULL; IMPLEMENT_APP(MyApp)