X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..f36b3a915e4543fbbd9c911724404b016972aabc:/include/wx/msw/ole/access.h?ds=inline diff --git a/include/wx/msw/ole/access.h b/include/wx/msw/ole/access.h index 42eba96b7a..91ff1e85cb 100644 --- a/include/wx/msw/ole/access.h +++ b/include/wx/msw/ole/access.h @@ -12,13 +12,7 @@ #ifndef _WX_ACCESS_H_ #define _WX_ACCESS_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #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 +62,7 @@ private: DECLARE_NO_COPY_CLASS(wxAccessible) }; +#endif //wxUSE_ACCESSIBILITY + #endif //_WX_ACCESS_H_