]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/access.h
Unselect all wxDataViewCtrl items when clicking outside of the item area.
[wxWidgets.git] / include / wx / msw / ole / access.h
index 42eba96b7abea0878502d67e2fa5ac94f2cf2d06..956592c1a290d99fe4c2e0cf1da401765454eff2 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        ole/access.h
+// Name:        wx/msw/ole/access.h
 // Purpose:     declaration of the wxAccessible class
 // Author:      Julian Smart
 // Modified by:
 #ifndef   _WX_ACCESS_H_
 #define   _WX_ACCESS_H_
 
-#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
 // ----------------------------------------------------------------------------
 
 class wxIAccessible;
-class WXDLLEXPORT wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
 
 // ----------------------------------------------------------------------------
 // macros
@@ -35,7 +29,7 @@ class WXDLLEXPORT wxWindow;
 // wxAccessible implements accessibility behaviour.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAccessible : public wxAccessibleBase
+class WXDLLIMPEXP_CORE wxAccessible : public wxAccessibleBase
 {
 public:
     wxAccessible(wxWindow *win = NULL);
@@ -65,8 +59,10 @@ private:
     void*           m_pIAccessibleStd;  // the pointer to the standard COM interface,
                                         // for default processing
 
-    DECLARE_NO_COPY_CLASS(wxAccessible)
+    wxDECLARE_NO_COPY_CLASS(wxAccessible);
 };
 
+#endif  //wxUSE_ACCESSIBILITY
+
 #endif  //_WX_ACCESS_H_