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:
@@ -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.
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user