Move wxUSE_GUI definition from chkconf.h to the top of platform.h.

This avoids warnings about wxUSE_GUI not being defined in Mac tests in
wx/platform.h which are now (since r69387) done before wx/chkconf.h inclusion.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-10-12 11:20:15 +00:00
parent 5548cbac13
commit f854ecb5a8
2 changed files with 5 additions and 5 deletions

View File

@@ -57,11 +57,6 @@
global features global features
*/ */
/* GUI build by default */
#if !defined(wxUSE_GUI)
# define wxUSE_GUI 1
#endif /* !defined(wxUSE_GUI) */
/* /*
If we're compiling without support for threads/exceptions we have to If we're compiling without support for threads/exceptions we have to
disable the corresponding features. disable the corresponding features.

View File

@@ -14,6 +14,11 @@
#ifndef _WX_PLATFORM_H_ #ifndef _WX_PLATFORM_H_
#define _WX_PLATFORM_H_ #define _WX_PLATFORM_H_
/* GUI build by default */
#if !defined(wxUSE_GUI)
# define wxUSE_GUI 1
#endif /* !defined(wxUSE_GUI) */
/* /*
Codewarrior doesn't define any Windows symbols until some headers Codewarrior doesn't define any Windows symbols until some headers