X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..2404ce8d8aec4de1b892034be47a3c2e0a2d47af:/include/wx/msw/ole/access.h diff --git a/include/wx/msw/ole/access.h b/include/wx/msw/ole/access.h index aa84ee1e6e..f5898dea5e 100644 --- a/include/wx/msw/ole/access.h +++ b/include/wx/msw/ole/access.h @@ -6,26 +6,20 @@ // Created: 2003-02-12 // RCS-ID: $Id$ // Copyright: (c) 2003 Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #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_