]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/access.h
Fixed bug #1163384. Moved the code that handles activating the cell
[wxWidgets.git] / include / wx / msw / ole / access.h
index aa84ee1e6e56b9c2d2990418a0d4dd59702a1fe4..5eea153e63e71cd32fecc3450f290099882b3810 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2003-02-12
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 Julian Smart
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef   _WX_ACCESS_H_
@@ -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_