]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/oleauto/oleauto.cpp
Fix a crash in wxExecute() in wxMSW too.
[wxWidgets.git] / samples / oleauto / oleauto.cpp
index 2fdcf0d908c020b4123c59a087a3eba0d9112efc..1bd9e97b6b8552d3e300045b5c3faff7e19bd998 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "wx/msw/ole/automtn.h"
 
-#ifndef __WXMSW__
+#ifndef __WINDOWS__
 #error "Sorry, this sample works under Windows only."
 #endif