]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/ole/access.h
1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: declaration of the wxAccessible class
4 // Author: Julian Smart
8 // Copyright: (c) 2003 Julian Smart
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
15 #if wxUSE_ACCESSIBILITY
17 // ----------------------------------------------------------------------------
18 // forward declarations
19 // ----------------------------------------------------------------------------
22 class WXDLLEXPORT wxWindow
;
24 // ----------------------------------------------------------------------------
26 // ----------------------------------------------------------------------------
28 // ----------------------------------------------------------------------------
29 // wxAccessible implements accessibility behaviour.
30 // ----------------------------------------------------------------------------
32 class WXDLLEXPORT wxAccessible
: public wxAccessibleBase
35 wxAccessible(wxWindow
*win
= NULL
);
36 virtual ~wxAccessible();
42 // Returns the wxIAccessible pointer
43 wxIAccessible
* GetIAccessible() { return m_pIAccessible
; }
45 // Returns the IAccessible standard interface pointer
46 void* GetIAccessibleStd() ;
50 // Sends an event when something changes in an accessible object.
51 static void NotifyEvent(int eventType
, wxWindow
* window
, wxAccObject objectType
,
58 wxIAccessible
* m_pIAccessible
; // the pointer to COM interface
59 void* m_pIAccessibleStd
; // the pointer to the standard COM interface,
60 // for default processing
62 DECLARE_NO_COPY_CLASS(wxAccessible
)
65 #endif //wxUSE_ACCESSIBILITY
67 #endif //_WX_ACCESS_H_