X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..63e2147c8b027645682e0e4cd013a3f30bbd3483:/include/wx/msw/ole/access.h?ds=sidebyside diff --git a/include/wx/msw/ole/access.h b/include/wx/msw/ole/access.h index 42eba96b7a..5eea153e63 100644 --- a/include/wx/msw/ole/access.h +++ b/include/wx/msw/ole/access.h @@ -16,9 +16,7 @@ #pragma interface #endif -#if !wxUSE_ACCESSIBILITY - #error "You should #define wxUSE_ACCESSIBILITY to 1 to compile this file!" -#endif //wxUSE_ACCESSIBILITY +#if wxUSE_ACCESSIBILITY // ---------------------------------------------------------------------------- // forward declarations @@ -68,5 +66,7 @@ private: DECLARE_NO_COPY_CLASS(wxAccessible) }; +#endif //wxUSE_ACCESSIBILITY + #endif //_WX_ACCESS_H_