From b5face97bc662bd1305dc6a1d816b11d3842456d Mon Sep 17 00:00:00 2001 From: jgehw Date: Tue, 16 Oct 2018 10:44:01 +0200 Subject: [PATCH] Fix QA build options check when wxUSE_DEBUGREPORT==0 Compile this check even if wxDebugReport itself is not used. Closes https://github.com/wxWidgets/wxWidgets/pull/979 --- src/common/debugrpt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/debugrpt.cpp b/src/common/debugrpt.cpp index 7bc0ed32cb..b271547974 100644 --- a/src/common/debugrpt.cpp +++ b/src/common/debugrpt.cpp @@ -29,6 +29,8 @@ #include "wx/utils.h" #endif // WX_PRECOMP +WX_CHECK_BUILD_OPTIONS("wxQA") + #if wxUSE_DEBUGREPORT && wxUSE_XML #include "wx/debugrpt.h" @@ -57,8 +59,6 @@ #include "wx/zipstrm.h" #endif // wxUSE_ZIPSTREAM -WX_CHECK_BUILD_OPTIONS("wxQA") - // ---------------------------------------------------------------------------- // XmlStackWalker: stack walker specialization which dumps stack in XML // ----------------------------------------------------------------------------