From fac481f6ea4c8d57a92b9cb721190293c0b6adbb Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 9 Nov 2017 11:43:05 +0100 Subject: [PATCH] Removing whitespace which lead to incorrect processing by update-setup-h on macOS --- include/wx/osx/setup0.h | 14 +++++++------- include/wx/setup_inc.h | 14 +++++++------- setup.h.in | 7 +------ 3 files changed, 15 insertions(+), 20 deletions(-) diff --git a/include/wx/osx/setup0.h b/include/wx/osx/setup0.h index 60cf62a27c..d920188567 100644 --- a/include/wx/osx/setup0.h +++ b/include/wx/osx/setup0.h @@ -801,14 +801,14 @@ // notice that we can't use wxCHECK_VISUALC_VERSION() here as this file is // included from wx/platform.h before wxCHECK_VISUALC_VERSION() is defined #ifdef _MSC_VER -# define wxUSE_GRAPHICS_CONTEXT 1 +#define wxUSE_GRAPHICS_CONTEXT 1 #else - // Disable support for other Windows compilers, enable it if your compiler - // comes with new enough SDK or you installed the headers manually. - // - // Notice that this will be set by configure under non-Windows platforms - // anyhow so the value there is not important. -# define wxUSE_GRAPHICS_CONTEXT 0 +// Disable support for other Windows compilers, enable it if your compiler +// comes with new enough SDK or you installed the headers manually. +// +// Notice that this will be set by configure under non-Windows platforms +// anyhow so the value there is not important. +#define wxUSE_GRAPHICS_CONTEXT 0 #endif // Enable wxGraphicsContext implementation using Cairo library. diff --git a/include/wx/setup_inc.h b/include/wx/setup_inc.h index ba4c3bd184..ebaaeba459 100644 --- a/include/wx/setup_inc.h +++ b/include/wx/setup_inc.h @@ -791,14 +791,14 @@ // notice that we can't use wxCHECK_VISUALC_VERSION() here as this file is // included from wx/platform.h before wxCHECK_VISUALC_VERSION() is defined #ifdef _MSC_VER -# define wxUSE_GRAPHICS_CONTEXT 1 +#define wxUSE_GRAPHICS_CONTEXT 1 #else - // Disable support for other Windows compilers, enable it if your compiler - // comes with new enough SDK or you installed the headers manually. - // - // Notice that this will be set by configure under non-Windows platforms - // anyhow so the value there is not important. -# define wxUSE_GRAPHICS_CONTEXT 0 +// Disable support for other Windows compilers, enable it if your compiler +// comes with new enough SDK or you installed the headers manually. +// +// Notice that this will be set by configure under non-Windows platforms +// anyhow so the value there is not important. +#define wxUSE_GRAPHICS_CONTEXT 0 #endif // Enable wxGraphicsContext implementation using Cairo library. diff --git a/setup.h.in b/setup.h.in index 61f5bf7b1f..0715a696e1 100644 --- a/setup.h.in +++ b/setup.h.in @@ -352,12 +352,7 @@ #ifdef _MSC_VER #define wxUSE_GRAPHICS_CONTEXT 0 #else - - - - - -# define wxUSE_GRAPHICS_CONTEXT 0 +#define wxUSE_GRAPHICS_CONTEXT 0 #endif #define wxUSE_CAIRO 0