]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/chkconf.h
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)
7 * Copyright: (c) 2000-2007 Vadim Zeitlin <vadim@wxwidgets.org>
8 * Licence: wxWindows licence
11 #ifndef __WXUNIVERSAL__
12 # if wxUSE_MDI_ARCHITECTURE && !wxUSE_MENUS
13 # ifdef wxABORT_ON_CONFIG_ERROR
14 # error "MDI requires wxUSE_MENUS in wxGTK"
17 # define wxUSE_MENUS 1
20 #endif /* !__WXUNIVERSAL__ */
24 # ifdef wxABORT_ON_CONFIG_ERROR
25 # error "wxJoystick requires threads in wxGTK"
27 # undef wxUSE_JOYSTICK
28 # define wxUSE_JOYSTICK 0
31 #endif /* wxUSE_JOYSTICK */
33 #if wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW && !wxUSE_POSTSCRIPT
34 # undef wxUSE_POSTSCRIPT
35 # define wxUSE_POSTSCRIPT 1
39 # undef wxUSE_OWNER_DRAWN
40 # define wxUSE_OWNER_DRAWN 0
44 # undef wxUSE_METAFILE
45 # define wxUSE_METAFILE 0
51 # define wxUSE_WEBVIEW 0
52 # undef wxUSE_WEBVIEW_WEBKIT
53 # define wxUSE_WEBVIEW_WEBKIT 0
55 # undef wxUSE_MEDIACTRL
56 # define wxUSE_MEDIACTRL 0
59 We could use GDK_WINDOWING_X11 for those but this would require
60 including gdk/gdk.h and we don't want to do it from here, so assume
61 we're not using X11 if we're not under Unix.
64 # undef wxUSE_UIACTIONSIMULATOR
65 # define wxUSE_UIACTIONSIMULATOR 0
67 # undef wxUSE_GLCANVAS
68 # define wxUSE_GLCANVAS 0
73 We always need Cairo with wxGTK, enable it if necessary (this can only
74 happen under Windows).
80 # define wxUSE_CAIRO 1
83 #endif /* __WINDOWS__ */
86 #if !wxUSE_GRAPHICS_CONTEXT
87 #ifdef wxABORT_ON_CONFIG_ERROR
88 #error "GTK+ 3 support requires wxGraphicsContext"
90 #undef wxUSE_GRAPHICS_CONTEXT
91 #define wxUSE_GRAPHICS_CONTEXT 1