X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/msw/ole/access.h diff --git a/include/wx/msw/ole/access.h b/include/wx/msw/ole/access.h index 03ee91a3c6..956592c1a2 100644 --- a/include/wx/msw/ole/access.h +++ b/include/wx/msw/ole/access.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: ole/access.h +// Name: wx/msw/ole/access.h // Purpose: declaration of the wxAccessible class // Author: Julian Smart // Modified by: @@ -12,20 +12,14 @@ #ifndef _WX_ACCESS_H_ #define _WX_ACCESS_H_ -#ifdef __GNUG__ - #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); @@ -65,8 +59,10 @@ private: void* m_pIAccessibleStd; // the pointer to the standard COM interface, // for default processing - DECLARE_NO_COPY_CLASS(wxAccessible) + wxDECLARE_NO_COPY_CLASS(wxAccessible); }; +#endif //wxUSE_ACCESSIBILITY + #endif //_WX_ACCESS_H_