]>
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 defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
19 #if !wxUSE_ACCESSIBILITY
20 #error "You should #define wxUSE_ACCESSIBILITY to 1 to compile this file!"
21 #endif //wxUSE_ACCESSIBILITY
23 // ----------------------------------------------------------------------------
24 // forward declarations
25 // ----------------------------------------------------------------------------
28 class WXDLLEXPORT wxWindow
;
30 // ----------------------------------------------------------------------------
32 // ----------------------------------------------------------------------------
34 // ----------------------------------------------------------------------------
35 // wxAccessible implements accessibility behaviour.
36 // ----------------------------------------------------------------------------
38 class WXDLLEXPORT wxAccessible
: public wxAccessibleBase
41 wxAccessible(wxWindow
*win
= NULL
);
42 virtual ~wxAccessible();
48 // Returns the wxIAccessible pointer
49 wxIAccessible
* GetIAccessible() { return m_pIAccessible
; }
51 // Returns the IAccessible standard interface pointer
52 void* GetIAccessibleStd() ;
56 // Sends an event when something changes in an accessible object.
57 static void NotifyEvent(int eventType
, wxWindow
* window
, wxAccObject objectType
,
64 wxIAccessible
* m_pIAccessible
; // the pointer to COM interface
65 void* m_pIAccessibleStd
; // the pointer to the standard COM interface,
66 // for default processing
68 DECLARE_NO_COPY_CLASS(wxAccessible
)
71 #endif //_WX_ACCESS_H_