Fixes for wxQt build under Cygwin

Include the missing headers, notable QtGui/QFont from wx/fontutil.h which uses
a QFont object.

Closes #16750.
This commit is contained in:
Tim Stahlhut
2015-10-25 18:00:05 +01:00
committed by Vadim Zeitlin
parent db966da330
commit fb5d1a002c
23 changed files with 195 additions and 41 deletions

View File

@@ -7,11 +7,21 @@
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#include "wx/cursor.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#include <QApplication>
#include <QBitmap>
#ifndef WX_PRECOMP
#include "wx/bitmap.h"
#endif // WX_PRECOMP
#include "wx/cursor.h"
void wxSetCursor(const wxCursor& cursor)
{
if (cursor.m_qtCursor.shape() == Qt::ArrowCursor)