//
 // Default is 1
 //
-// Recommended setting: 1 (requires XRC)
+// Recommended setting: 1 (requires wxUSE_XML)
 #define wxUSE_XRC       1
 
 // XML parsing classes. Note that their API will change in the future, so
 
 //
 // Default is 1
 //
-// Recommended setting: 1 (requires XRC)
+// Recommended setting: 1 (requires wxUSE_XML)
 #define wxUSE_XRC       1
 
 // XML parsing classes. Note that their API will change in the future, so
 
 // wxSound class
 #define wxUSE_SOUND      0
 
+// Use wxWidget's XRC XML-based resource system.  Recommended.
+//
+// Default is 1
+//
+// Recommended setting: 1 (requires wxUSE_XML)
+#define wxUSE_XRC       1
+
+// XML parsing classes. Note that their API will change in the future, so
+// using wxXmlDocument and wxXmlNode in your app is not recommended.
+//
+// Default is 1
+//
+// Recommended setting: 1 (required by XRC)
+#if wxUSE_XRC
+#  define wxUSE_XML       1
+#else
+#  define wxUSE_XML       0
+#endif
+
 // ----------------------------------------------------------------------------
 // Individual GUI controls
 // ----------------------------------------------------------------------------
 
 //
 // Default is 1
 //
-// Recommended setting: 1 (requires XRC)
+// Recommended setting: 1 (requires wxUSE_XML)
 #define wxUSE_XRC       1
 
 // XML parsing classes. Note that their API will change in the future, so
 
 
 #define wxUSE_SOUND                1
 
+// Use wxWidget's XRC XML-based resource system.  Recommended.
+//
+// Default is 1
+//
+// Recommended setting: 1 (requires wxUSE_XML)
+#define wxUSE_XRC       1
+
+// XML parsing classes. Note that their API will change in the future, so
+// using wxXmlDocument and wxXmlNode in your app is not recommended.
+//
+// Default is 1
+//
+// Recommended setting: 1 (required by XRC)
+#if wxUSE_XRC
+#  define wxUSE_XML       1
+#else
+#  define wxUSE_XML       0
+#endif
+
 #define wxUSE_REGEX               1
 
 #define wxUSE_FINDREPLDLG         1 // Find replace dialog
 
 //
 // Default is 1
 //
-// Recommended setting: 1 (requires XRC)
+// Recommended setting: 1 (requires wxUSE_XML)
 #define wxUSE_XRC       1
 
 // XML parsing classes. Note that their API will change in the future, so