]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/access.h
Better compatibility between wxRichTextCtrl and wxTextCtrlBase
[wxWidgets.git] / include / wx / msw / ole / access.h
index 42eba96b7abea0878502d67e2fa5ac94f2cf2d06..91ff1e85cb7ace1b812ed42b475274d95cea6662 100644 (file)
 #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
@@ -68,5 +62,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxAccessible)
 };
 
+#endif  //wxUSE_ACCESSIBILITY
+
 #endif  //_WX_ACCESS_H_