]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/chkconf.h
corrected wxRTTI macros
[wxWidgets.git] / include / wx / chkconf.h
index b6db50e9f5cea4a43d0994e5fb092662ab77780e..f3d93c112712b0a0aee377b5114a3f874adcce22 100644 (file)
 #if wxUSE_DATEPICKCTRL
 #   if !wxUSE_DATETIME
 #       ifdef wxABORT_ON_CONFIG_ERROR
-#           error wxDatePickerCtrl requires wxUSE_DATETIME"
+#           error "wxDatePickerCtrl requires wxUSE_DATETIME"
 #       else
 #           undef wxUSE_DATETIME
 #           define wxUSE_DATETIME 1
 #   endif
 #endif /* wxUSE_XRC */
 
+#if wxUSE_SOCKETS && !wxUSE_STOPWATCH
+#   ifdef wxABORT_ON_CONFIG_ERROR
+#       error "wxUSE_SOCKETS requires wxUSE_STOPWATCH"
+#   else
+#       undef wxUSE_SOCKETS
+#       define wxUSE_SOCKETS 0
+#   endif
+#endif /* wxUSE_SOCKETS */
+
 #endif /* wxUSE_GUI */