]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/chkconf.h
Document wxKill(wxSIGTERM) reliance on having an open window in wxMSW.
[wxWidgets.git] / include / wx / gtk / chkconf.h
index afd727fa3f9e631c72024914736a97a978bcc05e..af40a41bac845fc000a4a7a19127135a63ac15a2 100644 (file)
 #   define wxUSE_METAFILE 0
 #endif
 
 #   define wxUSE_METAFILE 0
 #endif
 
+#if wxUSE_ENH_METAFILE
+#   undef  wxUSE_ENH_METAFILE
+#   define wxUSE_ENH_METAFILE 0
+#endif
+
 #ifndef __UNIX__
 
 #   undef  wxUSE_WEBVIEW
 #ifndef __UNIX__
 
 #   undef  wxUSE_WEBVIEW
 #endif
 
 #endif  /* __WINDOWS__ */
 #endif
 
 #endif  /* __WINDOWS__ */
+
+#ifdef __WXGTK3__
+    #if !wxUSE_GRAPHICS_CONTEXT
+        #ifdef wxABORT_ON_CONFIG_ERROR
+            #error "GTK+ 3 support requires wxGraphicsContext"
+        #else
+            #undef wxUSE_GRAPHICS_CONTEXT
+            #define wxUSE_GRAPHICS_CONTEXT 1
+        #endif
+    #endif
+#endif