check for wxUSE_ACCESSIBILITY not being set to 1 under non-MSW platforms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-08-14 21:31:26 +00:00
parent 6c67fde0b8
commit a9c64a1b2e

View File

@@ -319,6 +319,14 @@
# endif
#endif /* !defined(wxUSE_ACCEL) */
#ifndef wxUSE_ACCESSIBILITY
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_ACCESSIBILITY must be defined."
# else
# define wxUSE_ACCESSIBILITY 0
# endif
#endif /* !defined(wxUSE_ACCESSIBILITY) */
#ifndef wxUSE_ANIMATIONCTRL
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_ANIMATIONCTRL must be defined."
@@ -1232,6 +1240,15 @@
*/
#if wxUSE_GUI
#if wxUSE_ACCESSIBILITY && !defined(__WXMSW__)
# ifdef wxABORT_ON_CONFIG_ERROR
# error "wxUSE_ACCESSIBILITY is currently only supported under wxMSW"
# else
# undef wxUSE_ACCESSIBILITY
# define wxUSE_ACCESSIBILITY 0
# endif
#endif /* wxUSE_ACCESSIBILITY */
#if wxUSE_BUTTON || \
wxUSE_CALENDARCTRL || \
wxUSE_CARET || \