X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d143b6689b9ce3f02398d1ee4129f6a21024183..b640fa17f3359e2766232e5dae3922de28236bde:/samples/oleauto/oleauto.cpp?ds=sidebyside diff --git a/samples/oleauto/oleauto.cpp b/samples/oleauto/oleauto.cpp index 8c77063fbc..1bd9e97b6b 100644 --- a/samples/oleauto/oleauto.cpp +++ b/samples/oleauto/oleauto.cpp @@ -32,7 +32,7 @@ #include "wx/msw/ole/automtn.h" -#ifndef __WXMSW__ +#ifndef __WINDOWS__ #error "Sorry, this sample works under Windows only." #endif @@ -40,7 +40,7 @@ // ressources // ---------------------------------------------------------------------------- // the application icon -#if !defined(__WXMSW__) && !defined(__WXPM__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../sample.xpm" #endif