1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/ole/access.h
3 // Purpose: declaration of the wxAccessible class
4 // Author: Julian Smart
7 // Copyright: (c) 2003 Julian Smart
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
14 #if wxUSE_ACCESSIBILITY
16 // ----------------------------------------------------------------------------
17 // forward declarations
18 // ----------------------------------------------------------------------------
21 class WXDLLIMPEXP_FWD_CORE wxWindow
;
23 // ----------------------------------------------------------------------------
25 // ----------------------------------------------------------------------------
27 // ----------------------------------------------------------------------------
28 // wxAccessible implements accessibility behaviour.
29 // ----------------------------------------------------------------------------
31 class WXDLLIMPEXP_CORE wxAccessible
: public wxAccessibleBase
34 wxAccessible(wxWindow
*win
= NULL
);
35 virtual ~wxAccessible();
41 // Returns the wxIAccessible pointer
42 wxIAccessible
* GetIAccessible() { return m_pIAccessible
; }
44 // Returns the IAccessible standard interface pointer
45 void* GetIAccessibleStd() ;
49 // Sends an event when something changes in an accessible object.
50 static void NotifyEvent(int eventType
, wxWindow
* window
, wxAccObject objectType
,
57 wxIAccessible
* m_pIAccessible
; // the pointer to COM interface
58 void* m_pIAccessibleStd
; // the pointer to the standard COM interface,
59 // for default processing
61 wxDECLARE_NO_COPY_CLASS(wxAccessible
);
64 #endif //wxUSE_ACCESSIBILITY
66 #endif //_WX_ACCESS_H_