From: Ryan Norton <wxprojects@comcast.net> Date: Fri, 24 Sep 2004 08:20:57 +0000 (+0000) Subject: MSW XRC define setuup.h handling X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f33cb209bfcd7619d69dacde19e97354fb180c39 MSW XRC define setuup.h handling git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index a7390b682f..726411ec57 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -459,13 +459,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