]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/access.h
use wxTextEntry in wxTextValidator (modified patch 1821743)
[wxWidgets.git] / include / wx / msw / ole / access.h
index 5e588b2e38ec17aaefc0c943c21df27decadb250..f32062f2a4f9e7123dfebcd9922f885b241d6a3c 100644 (file)
 #ifndef   _WX_ACCESS_H_
 #define   _WX_ACCESS_H_
 
 #ifndef   _WX_ACCESS_H_
 #define   _WX_ACCESS_H_
 
-#ifdef __GNUG__
-    #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
 // ----------------------------------------------------------------------------
 
 class wxIAccessible;
 
 // ----------------------------------------------------------------------------
 // forward declarations
 // ----------------------------------------------------------------------------
 
 class wxIAccessible;
-class WXDLLEXPORT wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
 
 // ----------------------------------------------------------------------------
 // macros
 
 // ----------------------------------------------------------------------------
 // macros
@@ -51,6 +45,12 @@ public:
     // Returns the IAccessible standard interface pointer
     void* GetIAccessibleStd() ;
 
     // 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();
 
 protected:
     void Init();
 
@@ -62,5 +62,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxAccessible)
 };
 
     DECLARE_NO_COPY_CLASS(wxAccessible)
 };
 
+#endif  //wxUSE_ACCESSIBILITY
+
 #endif  //_WX_ACCESS_H_
 
 #endif  //_WX_ACCESS_H_