// Created: 2003-02-12
// RCS-ID: $Id$
// Copyright: (c) 2003 Julian Smart
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#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
DECLARE_NO_COPY_CLASS(wxAccessible)
};
+#endif //wxUSE_ACCESSIBILITY
+
#endif //_WX_ACCESS_H_