From: Václav Slavík Date: Fri, 13 Jun 2003 23:25:09 +0000 (+0000) Subject: compilation fix for platforms w/o wxRawBitmap X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9b24b388c15cab582cfe52e40eb1f9e65e6994c1?ds=sidebyside compilation fix for platforms w/o wxRawBitmap git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/image/image.cpp b/samples/image/image.cpp index 61fb9a85d4..d2990f2b81 100644 --- a/samples/image/image.cpp +++ b/samples/image/image.cpp @@ -34,10 +34,10 @@ #if !defined(__WINDOWS__) || wxUSE_XPM_IN_MSW #include "smile.xpm" #endif -#ifndef __VMS -# include "wx/rawbmp.h" -#define wxHAVE_RAW_BITMAP +#if defined(__WXMSW__) || defined(__WXMAC__) + #include "wx/rawbmp.h" + #define wxHAVE_RAW_BITMAP #endif // derived classes