// headers we have to include here
// ----------------------------------------------------------------------------
+#include "wx/defs.h"
+
+#if wxUSE_ACCESSIBILITY
+
#include "wx/variant.h"
typedef enum
virtual wxAccStatus GetFocus(int* WXUNUSED(childId), wxAccessible** WXUNUSED(child))
{ return wxACC_NOT_IMPLEMENTED; }
+#if wxUSE_VARIANT
// Gets a variant representing the selected children
// of this object.
// Acceptable values:
// - a "void*" pointer to a wxAccessible child object
virtual wxAccStatus GetSelections(wxVariant* WXUNUSED(selections))
{ return wxACC_NOT_IMPLEMENTED; }
+#endif // wxUSE_VARIANT
// Accessors
#if defined(__WXMSW__)
#include "wx/msw/ole/access.h"
-#elif defined(__WXMOTIF__)
- #include "wx/generic/access.h"
-#elif defined(__WXMGL__)
- #include "wx/generic/access.h"
-#elif defined(__WXGTK__)
- #include "wx/generic/access.h"
-#elif defined(__WXX11__)
- #include "wx/generic/access.h"
-#elif defined(__WXMAC__)
- #include "wx/generic/access.h"
-#elif defined(__WXPM__)
- #include "wx/generic/access.h"
#endif
-#endif
- // _WX_ACCESSBASE_H_
+#endif // wxUSE_ACCESSIBILITY
+
+#endif // _WX_ACCESSBASE_H_