]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/automtn.h
use manifest id of 2 if ISOLATION_AWARE_ENABLED is defined (bug/feature request 1222189)
[wxWidgets.git] / include / wx / msw / ole / automtn.h
index 1aa3c148e44972ca97eb803a8585fa33d9655163..e81b0e90967ae0a32dadf5d7ebeea80c9a337822 100644 (file)
 #ifndef _WX_AUTOMTN_H_
 #define _WX_AUTOMTN_H_
 
+#include "wx/defs.h"
+
+#if wxUSE_OLE_AUTOMATION
+
 #include "wx/object.h"
 #include "wx/variant.h"
 
@@ -92,6 +96,6 @@ public:
     DECLARE_NO_COPY_CLASS(wxAutomationObject)
 };
 
+#endif // wxUSE_OLE_AUTOMATION
 
-#endif
-    // _WX_AUTOMTN_H_
+#endif // _WX_AUTOMTN_H_