]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/access.h
First part of '[ 1216148 ] cleanup: unused variables and declarations'.
[wxWidgets.git] / include / wx / msw / ole / access.h
index 42eba96b7abea0878502d67e2fa5ac94f2cf2d06..5eea153e63e71cd32fecc3450f290099882b3810 100644 (file)
@@ -16,9 +16,7 @@
     #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
@@ -68,5 +66,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxAccessible)
 };
 
+#endif  //wxUSE_ACCESSIBILITY
+
 #endif  //_WX_ACCESS_H_