+#ifndef wxUSE_WEAKREF
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_WEAKREF must be defined."
+# else
+# define wxUSE_WEAKREF 0
+# endif
+#endif /* wxUSE_WEAKREF */
+
+#ifndef wxUSE_XLOCALE
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxUSE_XLOCALE must be defined."
+# else
+# define wxUSE_XLOCALE 0
+# endif
+#endif /* !defined(wxUSE_XLOCALE) */
+