]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/chkconf.h
compilation fix
[wxWidgets.git] / include / wx / chkconf.h
index 5f6604c5b2b1eadcaa418bf17a0647c9bd7bedff..f05ad703d27ae81173d91de352e25fa8d06b83e6 100644 (file)
 #   endif
 #endif /* wxUSE_SOCKETS */
 
+#if wxUSE_SVG && !wxUSE_STREAMS
+#   ifdef wxABORT_ON_CONFIG_ERROR
+#       error "wxUSE_SVG requires wxUSE_STREAMS"
+#   else
+#       undef wxUSE_SVG
+#       define wxUSE_SVG 0
+#   endif
+#endif /* wxUSE_SVG */
+
 #if !wxUSE_VARIANT
 #   if wxUSE_DATAVIEWCTRL
 #       ifdef wxABORT_ON_CONFIG_ERROR