#include "wx/msw/ole/automtn.h"
-#ifndef __WXMSW__
+#ifndef __WINDOWS__
#error "Sorry, this sample works under Windows only."
#endif
// ressources
// ----------------------------------------------------------------------------
// the application icon
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif