]>
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)
6 * Copyright: (c) 2000-2007 Vadim Zeitlin <vadim@wxwidgets.org>
7 * Licence: wxWindows licence
10 #ifndef __WXUNIVERSAL__
11 # if wxUSE_MDI_ARCHITECTURE && !wxUSE_MENUS
12 # ifdef wxABORT_ON_CONFIG_ERROR
13 # error "MDI requires wxUSE_MENUS in wxGTK"
16 # define wxUSE_MENUS 1
19 #endif /* !__WXUNIVERSAL__ */
23 # ifdef wxABORT_ON_CONFIG_ERROR
24 # error "wxJoystick requires threads in wxGTK"
26 # undef wxUSE_JOYSTICK
27 # define wxUSE_JOYSTICK 0
30 #endif /* wxUSE_JOYSTICK */
32 #if wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW && !wxUSE_POSTSCRIPT
33 # undef wxUSE_POSTSCRIPT
34 # define wxUSE_POSTSCRIPT 1
38 # undef wxUSE_OWNER_DRAWN
39 # define wxUSE_OWNER_DRAWN 0
43 # undef wxUSE_METAFILE
44 # define wxUSE_METAFILE 0
47 #if wxUSE_ENH_METAFILE
48 # undef wxUSE_ENH_METAFILE
49 # define wxUSE_ENH_METAFILE 0
55 # define wxUSE_WEBVIEW 0
56 # undef wxUSE_WEBVIEW_WEBKIT
57 # define wxUSE_WEBVIEW_WEBKIT 0
59 # undef wxUSE_MEDIACTRL
60 # define wxUSE_MEDIACTRL 0
63 We could use GDK_WINDOWING_X11 for those but this would require
64 including gdk/gdk.h and we don't want to do it from here, so assume
65 we're not using X11 if we're not under Unix.
68 # undef wxUSE_UIACTIONSIMULATOR
69 # define wxUSE_UIACTIONSIMULATOR 0
71 # undef wxUSE_GLCANVAS
72 # define wxUSE_GLCANVAS 0
77 We always need Cairo with wxGTK, enable it if necessary (this can only
78 happen under Windows).
84 # define wxUSE_CAIRO 1
87 #endif /* __WINDOWS__ */
90 #if !wxUSE_GRAPHICS_CONTEXT
91 #ifdef wxABORT_ON_CONFIG_ERROR
92 #error "GTK+ 3 support requires wxGraphicsContext"
94 #undef wxUSE_GRAPHICS_CONTEXT
95 #define wxUSE_GRAPHICS_CONTEXT 1