From 9581c3c6dcb4dff7a4677e9ee4ec640cfeb0ec4d Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Fri, 24 Sep 2004 08:31:04 +0000 Subject: [PATCH] more setup0.h wxUSE_XRC fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/setup0.h | 15 +++++++++++++-- include/wx/msw/wince/setup.h | 15 +++++++++++++-- include/wx/univ/setup0.h | 15 +++++++++++++-- 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/include/wx/mac/setup0.h b/include/wx/mac/setup0.h index eacf96e7d9..b0de647b1d 100644 --- a/include/wx/mac/setup0.h +++ b/include/wx/mac/setup0.h @@ -428,13 +428,24 @@ // wxSound class #define wxUSE_SOUND 1 +// Use wxWidget's XRC XML-based resource system. Recommended. +// +// Default is 1 +// +// Recommended setting: 1 (requires XRC) +#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 (needed by XRC) -#define wxUSE_XML 1 +// Recommended setting: 1 (required by XRC) +#if wxUSE_XRC +# define wxUSE_XML 1 +#else +# define wxUSE_XML 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls diff --git a/include/wx/msw/wince/setup.h b/include/wx/msw/wince/setup.h index f95cd55031..578988a64d 100644 --- a/include/wx/msw/wince/setup.h +++ b/include/wx/msw/wince/setup.h @@ -447,13 +447,24 @@ // wxSound class #define wxUSE_SOUND 1 +// Use wxWidget's XRC XML-based resource system. Recommended. +// +// Default is 1 +// +// Recommended setting: 1 (requires XRC) +#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 (needed by XRC) -#define wxUSE_XML 1 +// Recommended setting: 1 (required by XRC) +#if wxUSE_XRC +# define wxUSE_XML 1 +#else +# define wxUSE_XML 0 +#endif // ---------------------------------------------------------------------------- // Individual GUI controls diff --git a/include/wx/univ/setup0.h b/include/wx/univ/setup0.h index 0b9199dbb9..9bff8f602e 100644 --- a/include/wx/univ/setup0.h +++ b/include/wx/univ/setup0.h @@ -484,13 +484,24 @@ // wxSound class #define wxUSE_SOUND 1 +// Use wxWidget's XRC XML-based resource system. Recommended. +// +// Default is 1 +// +// Recommended setting: 1 (requires XRC) +#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 (needed by XRC) -#define wxUSE_XML 1 +// Recommended setting: 1 (required by XRC) +#if wxUSE_XRC +# define wxUSE_XML 1 +#else +# define wxUSE_XML 0 +#endif // Set to 1 to compile MS Windows XP theme engine support #define wxUSE_UXTHEME 0