Enable wxUSE_ACCESSIBILITY by default (MSW)
Compile accessibility support on Windows by default now that the generic
wxDataViewCtrl control implements accessible interface. After the
changes from 7dab555f71, accessibility
support is much more lightweight and doesn't interfere with normal win32
behavior, so this change shouldn't affect accessibility-unaware code in
any way.
			
			
This commit is contained in:
		
				
					committed by
					
						 Václav Slavík
						Václav Slavík
					
				
			
			
				
	
			
			
			
						parent
						
							d720155910
						
					
				
				
					commit
					8b5387bc3d
				
			
							
								
								
									
										4
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -11329,6 +11329,10 @@ fi | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | if test "$wxUSE_MSW" = 1 ; then | ||||||
|  |     DEFAULT_wxUSE_ACCESSIBILITY=yes | ||||||
|  | fi | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
|           enablestring= |           enablestring= | ||||||
|           defaultval=$wxUSE_ALL_FEATURES |           defaultval=$wxUSE_ALL_FEATURES | ||||||
|   | |||||||
| @@ -970,6 +970,10 @@ dnl --------------------------------------------------------------------------- | |||||||
| dnl misc GUI options | dnl misc GUI options | ||||||
| dnl --------------------------------------------------------------------------- | dnl --------------------------------------------------------------------------- | ||||||
|  |  | ||||||
|  | if test "$wxUSE_MSW" = 1 ; then | ||||||
|  |     DEFAULT_wxUSE_ACCESSIBILITY=yes | ||||||
|  | fi | ||||||
|  |  | ||||||
| WX_ARG_FEATURE(menus,       [  --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes], wxUSE_MENUS) | WX_ARG_FEATURE(menus,       [  --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes], wxUSE_MENUS) | ||||||
| WX_ARG_FEATURE(miniframe,   [  --enable-miniframe      use wxMiniFrame class], wxUSE_MINIFRAME) | WX_ARG_FEATURE(miniframe,   [  --enable-miniframe      use wxMiniFrame class], wxUSE_MINIFRAME) | ||||||
| WX_ARG_FEATURE(tooltips,    [  --enable-tooltips       use wxToolTip class], wxUSE_TOOLTIPS) | WX_ARG_FEATURE(tooltips,    [  --enable-tooltips       use wxToolTip class], wxUSE_TOOLTIPS) | ||||||
|   | |||||||
| @@ -1358,12 +1358,16 @@ | |||||||
| #define wxUSE_DRAG_AND_DROP 1 | #define wxUSE_DRAG_AND_DROP 1 | ||||||
|  |  | ||||||
| // Use wxAccessible for enhanced and customisable accessibility. | // Use wxAccessible for enhanced and customisable accessibility. | ||||||
| // Depends on wxUSE_OLE. | // Depends on wxUSE_OLE on MSW. | ||||||
| // | // | ||||||
| // Default is 0. | // Default is 1 on MSW, 0 elsewhere. | ||||||
| // | // | ||||||
| // Recommended setting (at present): 0 | // Recommended setting (at present): 1 (MSW-only) | ||||||
|  | #ifdef __WXMSW__ | ||||||
|  | #define wxUSE_ACCESSIBILITY 1 | ||||||
|  | #else | ||||||
| #define wxUSE_ACCESSIBILITY 0 | #define wxUSE_ACCESSIBILITY 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
| // ---------------------------------------------------------------------------- | // ---------------------------------------------------------------------------- | ||||||
| // miscellaneous settings | // miscellaneous settings | ||||||
|   | |||||||
| @@ -1359,12 +1359,16 @@ | |||||||
| #define wxUSE_DRAG_AND_DROP 1 | #define wxUSE_DRAG_AND_DROP 1 | ||||||
|  |  | ||||||
| // Use wxAccessible for enhanced and customisable accessibility. | // Use wxAccessible for enhanced and customisable accessibility. | ||||||
| // Depends on wxUSE_OLE. | // Depends on wxUSE_OLE on MSW. | ||||||
| // | // | ||||||
| // Default is 0. | // Default is 1 on MSW, 0 elsewhere. | ||||||
| // | // | ||||||
| // Recommended setting (at present): 0 | // Recommended setting (at present): 1 (MSW-only) | ||||||
|  | #ifdef __WXMSW__ | ||||||
|  | #define wxUSE_ACCESSIBILITY 1 | ||||||
|  | #else | ||||||
| #define wxUSE_ACCESSIBILITY 0 | #define wxUSE_ACCESSIBILITY 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
| // ---------------------------------------------------------------------------- | // ---------------------------------------------------------------------------- | ||||||
| // miscellaneous settings | // miscellaneous settings | ||||||
|   | |||||||
| @@ -1359,12 +1359,16 @@ | |||||||
| #define wxUSE_DRAG_AND_DROP 1 | #define wxUSE_DRAG_AND_DROP 1 | ||||||
|  |  | ||||||
| // Use wxAccessible for enhanced and customisable accessibility. | // Use wxAccessible for enhanced and customisable accessibility. | ||||||
| // Depends on wxUSE_OLE. | // Depends on wxUSE_OLE on MSW. | ||||||
| // | // | ||||||
| // Default is 0. | // Default is 1 on MSW, 0 elsewhere. | ||||||
| // | // | ||||||
| // Recommended setting (at present): 0 | // Recommended setting (at present): 1 (MSW-only) | ||||||
|  | #ifdef __WXMSW__ | ||||||
|  | #define wxUSE_ACCESSIBILITY 1 | ||||||
|  | #else | ||||||
| #define wxUSE_ACCESSIBILITY 0 | #define wxUSE_ACCESSIBILITY 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
| // ---------------------------------------------------------------------------- | // ---------------------------------------------------------------------------- | ||||||
| // miscellaneous settings | // miscellaneous settings | ||||||
|   | |||||||
| @@ -1359,12 +1359,16 @@ | |||||||
| #define wxUSE_DRAG_AND_DROP 1 | #define wxUSE_DRAG_AND_DROP 1 | ||||||
|  |  | ||||||
| // Use wxAccessible for enhanced and customisable accessibility. | // Use wxAccessible for enhanced and customisable accessibility. | ||||||
| // Depends on wxUSE_OLE. | // Depends on wxUSE_OLE on MSW. | ||||||
| // | // | ||||||
| // Default is 0. | // Default is 1 on MSW, 0 elsewhere. | ||||||
| // | // | ||||||
| // Recommended setting (at present): 0 | // Recommended setting (at present): 1 (MSW-only) | ||||||
|  | #ifdef __WXMSW__ | ||||||
|  | #define wxUSE_ACCESSIBILITY 1 | ||||||
|  | #else | ||||||
| #define wxUSE_ACCESSIBILITY 0 | #define wxUSE_ACCESSIBILITY 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
| // ---------------------------------------------------------------------------- | // ---------------------------------------------------------------------------- | ||||||
| // miscellaneous settings | // miscellaneous settings | ||||||
|   | |||||||
| @@ -1360,12 +1360,16 @@ | |||||||
| #define wxUSE_DRAG_AND_DROP 1 | #define wxUSE_DRAG_AND_DROP 1 | ||||||
|  |  | ||||||
| // Use wxAccessible for enhanced and customisable accessibility. | // Use wxAccessible for enhanced and customisable accessibility. | ||||||
| // Depends on wxUSE_OLE. | // Depends on wxUSE_OLE on MSW. | ||||||
| // | // | ||||||
| // Default is 0. | // Default is 1 on MSW, 0 elsewhere. | ||||||
| // | // | ||||||
| // Recommended setting (at present): 0 | // Recommended setting (at present): 1 (MSW-only) | ||||||
|  | #ifdef __WXMSW__ | ||||||
|  | #define wxUSE_ACCESSIBILITY 1 | ||||||
|  | #else | ||||||
| #define wxUSE_ACCESSIBILITY 0 | #define wxUSE_ACCESSIBILITY 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
| // ---------------------------------------------------------------------------- | // ---------------------------------------------------------------------------- | ||||||
| // miscellaneous settings | // miscellaneous settings | ||||||
|   | |||||||
| @@ -1355,12 +1355,16 @@ | |||||||
| #define wxUSE_DRAG_AND_DROP 1 | #define wxUSE_DRAG_AND_DROP 1 | ||||||
|  |  | ||||||
| // Use wxAccessible for enhanced and customisable accessibility. | // Use wxAccessible for enhanced and customisable accessibility. | ||||||
| // Depends on wxUSE_OLE. | // Depends on wxUSE_OLE on MSW. | ||||||
| // | // | ||||||
| // Default is 0. | // Default is 1 on MSW, 0 elsewhere. | ||||||
| // | // | ||||||
| // Recommended setting (at present): 0 | // Recommended setting (at present): 1 (MSW-only) | ||||||
|  | #ifdef __WXMSW__ | ||||||
|  | #define wxUSE_ACCESSIBILITY 1 | ||||||
|  | #else | ||||||
| #define wxUSE_ACCESSIBILITY 0 | #define wxUSE_ACCESSIBILITY 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
| // ---------------------------------------------------------------------------- | // ---------------------------------------------------------------------------- | ||||||
| // miscellaneous settings | // miscellaneous settings | ||||||
|   | |||||||
| @@ -1358,12 +1358,16 @@ | |||||||
| #define wxUSE_DRAG_AND_DROP 1 | #define wxUSE_DRAG_AND_DROP 1 | ||||||
|  |  | ||||||
| // Use wxAccessible for enhanced and customisable accessibility. | // Use wxAccessible for enhanced and customisable accessibility. | ||||||
| // Depends on wxUSE_OLE. | // Depends on wxUSE_OLE on MSW. | ||||||
| // | // | ||||||
| // Default is 0. | // Default is 1 on MSW, 0 elsewhere. | ||||||
| // | // | ||||||
| // Recommended setting (at present): 0 | // Recommended setting (at present): 1 (MSW-only) | ||||||
|  | #ifdef __WXMSW__ | ||||||
|  | #define wxUSE_ACCESSIBILITY 1 | ||||||
|  | #else | ||||||
| #define wxUSE_ACCESSIBILITY 0 | #define wxUSE_ACCESSIBILITY 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
| // ---------------------------------------------------------------------------- | // ---------------------------------------------------------------------------- | ||||||
| // miscellaneous settings | // miscellaneous settings | ||||||
|   | |||||||
| @@ -544,7 +544,11 @@ | |||||||
|  |  | ||||||
| #define wxUSE_DRAG_AND_DROP 0 | #define wxUSE_DRAG_AND_DROP 0 | ||||||
|  |  | ||||||
|  | #ifdef __WXMSW__ | ||||||
|  | #define wxUSE_ACCESSIBILITY 1 | ||||||
|  | #else | ||||||
| #define wxUSE_ACCESSIBILITY 0 | #define wxUSE_ACCESSIBILITY 0 | ||||||
|  | #endif | ||||||
|  |  | ||||||
|  |  | ||||||
| #define wxUSE_SNGLINST_CHECKER  0 | #define wxUSE_SNGLINST_CHECKER  0 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user