Don't trigger warnings in standard headers when building wxQt

Pre-include QFont header in wxQt to avoid warnings for the other headers
included from it.
This commit is contained in:
Vadim Zeitlin
2020-08-30 21:18:27 +02:00
parent 9c2cf91223
commit 3bbefcdd74

View File

@@ -84,6 +84,10 @@
#include "catch.hpp"
#if defined(__WXQT__)
#include <QtGui/QFont>
#endif
#ifdef GCC_TURN_OFF
#pragma GCC diagnostic pop
#endif