]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/access.h
Added C/wxString array constructors to wxArrayString
[wxWidgets.git] / include / wx / msw / ole / access.h
index 03ee91a3c672e715227e65155ca1ce3d25d6c2b1..5eea153e63e71cd32fecc3450f290099882b3810 100644 (file)
 #ifndef   _WX_ACCESS_H_
 #define   _WX_ACCESS_H_
 
 #ifndef   _WX_ACCESS_H_
 #define   _WX_ACCESS_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface
 #endif
 
     #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
 
 // ----------------------------------------------------------------------------
 // forward declarations
@@ -68,5 +66,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxAccessible)
 };
 
     DECLARE_NO_COPY_CLASS(wxAccessible)
 };
 
+#endif  //wxUSE_ACCESSIBILITY
+
 #endif  //_WX_ACCESS_H_
 
 #endif  //_WX_ACCESS_H_