X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..f71b0c2d56b03b7823e661aacd05cf1a791e5c2f:/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..f5898dea5e 100644 --- a/include/wx/msw/ole/access.h +++ b/include/wx/msw/ole/access.h @@ -12,20 +12,14 @@ #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 // ---------------------------------------------------------------------------- class wxIAccessible; -class WXDLLEXPORT wxWindow; +class WXDLLIMPEXP_FWD_CORE wxWindow; // ---------------------------------------------------------------------------- // macros @@ -35,7 +29,7 @@ class WXDLLEXPORT wxWindow; // wxAccessible implements accessibility behaviour. // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxAccessible : public wxAccessibleBase +class WXDLLIMPEXP_CORE wxAccessible : public wxAccessibleBase { public: wxAccessible(wxWindow *win = NULL); @@ -68,5 +62,7 @@ private: DECLARE_NO_COPY_CLASS(wxAccessible) }; +#endif //wxUSE_ACCESSIBILITY + #endif //_WX_ACCESS_H_