Include <windows.h> before enabling all the warnings

This avoids tons of -Wredundant-decls and -Wnon-virtual-dtor (given for
all OLE interfaces).
This commit is contained in:
Vadim Zeitlin 2020-08-31 01:20:03 +02:00
parent 6f9390306d
commit 03bc49de2d

View File

@ -84,7 +84,9 @@
#include "catch.hpp"
#if defined(__WXQT__)
#if defined(__WXMSW__)
#include <windows.h>
#elif defined(__WXQT__)
#include <QtGui/QFont>
#endif