diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index cbe16ae778..5552f05d9f 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -57,11 +57,6 @@ 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 disable the corresponding features. diff --git a/include/wx/platform.h b/include/wx/platform.h index 3f2dbabbf5..6f2601ff46 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -14,6 +14,11 @@ #ifndef _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