X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45a959a33bac277694a647495b2efc7c023a58b7..80e5b0b1434abc35ec77279ee42b5237bdee854d:/include/wx/msw/ole/access.h diff --git a/include/wx/msw/ole/access.h b/include/wx/msw/ole/access.h index 5e588b2e38..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_ -#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); @@ -51,6 +45,12 @@ public: // Returns the IAccessible standard interface pointer void* GetIAccessibleStd() ; +// Operations + + // Sends an event when something changes in an accessible object. + static void NotifyEvent(int eventType, wxWindow* window, wxAccObject objectType, + int objectId); + protected: void Init(); @@ -62,5 +62,7 @@ private: DECLARE_NO_COPY_CLASS(wxAccessible) }; +#endif //wxUSE_ACCESSIBILITY + #endif //_WX_ACCESS_H_