]> git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/chkconf.h
Move msw configuration checking to chkconf.h
[wxWidgets.git] / include / wx / gtk / chkconf.h
1 /*
2 * Name: wx/gtk/chkconf.h
3 * Purpose: wxGTK-specific settings consistency checks
4 * Author: Vadim Zeitlin
5 * Created: 2007-07-19 (extracted from wx/chkconf.h)
6 * RCS-ID: $Id$
7 * Copyright: (c) 2000-2007 Vadim Zeitlin <vadim@wxwidgets.org>
8 * Licence: wxWindows licence
9 */
10
11 #ifndef __WXUNIVERSAL__
12 # if wxUSE_MDI_ARCHITECTURE && !wxUSE_MENUS
13 # ifdef wxABORT_ON_CONFIG_ERROR
14 # error "MDI requires wxUSE_MENUS in wxGTK"
15 # else
16 # undef wxUSE_MENUS
17 # define wxUSE_MENUS 1
18 # endif
19 # endif
20 #endif /* !__WXUNIVERSAL__ */
21
22 #if wxUSE_JOYSTICK
23 # if !wxUSE_THREADS
24 # ifdef wxABORT_ON_CONFIG_ERROR
25 # error "wxJoystick requires threads in wxGTK"
26 # else
27 # undef wxUSE_JOYSTICK
28 # define wxUSE_JOYSTICK 0
29 # endif
30 # endif
31 #endif /* wxUSE_JOYSTICK */