Make wxrc independent from GUI support

The wxrc program does not depend on the GUI libraries, but only on
the base and XML libraries, so make it possible to build it in non-GUI
builds too.

Closes https://github.com/wxWidgets/wxWidgets/pull/2419
This commit is contained in:
Arrigo Marchiori
2021-07-07 09:55:12 +02:00
committed by Vadim Zeitlin
parent aaa2dabf5d
commit 30915c6163
35 changed files with 331 additions and 208 deletions

View File

@@ -737,10 +737,10 @@
// 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 the same as wxUSE_XRC, i.e. 1 by default.
// Default is 1
//
// Recommended setting: 1 (required by XRC)
#define wxUSE_XML wxUSE_XRC
#define wxUSE_XML 1
// Use wxWidget's AUI docking system
//