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
This commit is contained in:
jgehw
2018-10-16 10:44:01 +02:00
committed by Vadim Zeitlin
parent 88b7ef2fab
commit b5face97bc

View File

@@ -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
// ----------------------------------------------------------------------------