From e24bc249e463a18fcb52d6257b565b2a1253a80d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 18 May 2017 21:49:28 +0200 Subject: [PATCH] Add back wxUSE_XTEST definition to Xcode setup.h file This was erroneously removed by e82c6194028474759c785fb6eebdcde00e6621c0 but it still needs to be defined here, even if it's not used under macOS, in order to avoid errors about it being undefined in wx/unix/chkconf.h. --- include/wx/osx/setup0.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wx/osx/setup0.h b/include/wx/osx/setup0.h index d3a72de273..f9f1e7c952 100644 --- a/include/wx/osx/setup0.h +++ b/include/wx/osx/setup0.h @@ -1439,6 +1439,10 @@ // Compile wxUIActionSimulator class? #define wxUSE_UIACTIONSIMULATOR 1 +// This is only used under Unix, but needs to be defined here as it's checked +// by wx/unix/chkconf.h. +#define wxUSE_XTEST 0 + // ---------------------------------------------------------------------------- // wxDC classes for various output formats // ----------------------------------------------------------------------------