]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/ole/access.h
Deprecated SetItemImage with 2 image ids
[wxWidgets.git] / include / wx / msw / ole / access.h
CommitLineData
45a959a3
JS
1///////////////////////////////////////////////////////////////////////////////
2// Name: ole/access.h
3// Purpose: declaration of the wxAccessible class
4// Author: Julian Smart
5// Modified by:
6// Created: 2003-02-12
7// RCS-ID: $Id$
8// Copyright: (c) 2003 Julian Smart
65571936 9// Licence: wxWindows licence
45a959a3
JS
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_ACCESS_H_
13#define _WX_ACCESS_H_
14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
45a959a3
JS
16 #pragma interface
17#endif
18
0a0e6a5b 19#if wxUSE_ACCESSIBILITY
45a959a3
JS
20
21// ----------------------------------------------------------------------------
22// forward declarations
23// ----------------------------------------------------------------------------
24
25class wxIAccessible;
26class WXDLLEXPORT wxWindow;
27
28// ----------------------------------------------------------------------------
29// macros
30// ----------------------------------------------------------------------------
31
32// ----------------------------------------------------------------------------
33// wxAccessible implements accessibility behaviour.
34// ----------------------------------------------------------------------------
35
36class WXDLLEXPORT wxAccessible : public wxAccessibleBase
37{
38public:
39 wxAccessible(wxWindow *win = NULL);
40 virtual ~wxAccessible();
41
42// Overridables
43
44// Accessors
45
46 // Returns the wxIAccessible pointer
47 wxIAccessible* GetIAccessible() { return m_pIAccessible; }
48
49 // Returns the IAccessible standard interface pointer
50 void* GetIAccessibleStd() ;
51
371a5b4e
JS
52// Operations
53
54 // Sends an event when something changes in an accessible object.
55 static void NotifyEvent(int eventType, wxWindow* window, wxAccObject objectType,
56 int objectId);
57
45a959a3
JS
58protected:
59 void Init();
60
61private:
62 wxIAccessible * m_pIAccessible; // the pointer to COM interface
63 void* m_pIAccessibleStd; // the pointer to the standard COM interface,
64 // for default processing
65
66 DECLARE_NO_COPY_CLASS(wxAccessible)
67};
68
0a0e6a5b
WS
69#endif //wxUSE_ACCESSIBILITY
70
45a959a3
JS
71#endif //_WX_ACCESS_H_
72