From: Vadim Zeitlin Date: Thu, 22 Aug 2002 23:20:40 +0000 (+0000) Subject: gcc warning about unused smile fixed (that's serious stuff) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d2aa73a8a6c88fdec61da39cf7186fc949f1a078?ds=inline gcc warning about unused smile fixed (that's serious stuff) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/image/image.cpp b/samples/image/image.cpp index 1df4e86ac5..92e4e44c98 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -25,7 +25,10 @@ #include "wx/quantize.h" #include "smile.xbm" -#include "smile.xpm" + +#if !defined(__WINDOWS__) || wxUSE_XPM_IN_MSW + #include "smile.xpm" +#endif // derived classes