#ifndef _WX_ACCESS_H_
#define _WX_ACCESS_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface
#endif
-#if !wxUSE_ACCESSIBILITY
- #error "You should #define wxUSE_ACCESSIBILITY to 1 to compile this file!"
-#endif //wxUSE_ACCESSIBILITY
+#if wxUSE_ACCESSIBILITY
// ----------------------------------------------------------------------------
// forward declarations
// Returns the IAccessible standard interface pointer
void* GetIAccessibleStd() ;
+// Operations
+
+ // Sends an event when something changes in an accessible object.
+ static void NotifyEvent(int eventType, wxWindow* window, wxAccObject objectType,
+ int objectId);
+
protected:
void Init();
DECLARE_NO_COPY_CLASS(wxAccessible)
};
+#endif //wxUSE_ACCESSIBILITY
+
#endif //_WX_ACCESS_H_