Files
wxWidgets/src/qt/fontutil.cpp
Tim Stahlhut fb5d1a002c Fixes for wxQt build under Cygwin
Include the missing headers, notable QtGui/QFont from wx/fontutil.h which uses
a QFont object.

Closes #16750.
2015-10-25 18:00:05 +01:00

46 lines
1015 B
C++

/////////////////////////////////////////////////////////////////////////////
// Name: src/qt/fontutil.cpp
// Author: Peter Most
// Copyright: (c) Peter Most
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#include <QtGui/QFont>
#include "wx/fontutil.h"
#include "wx/encinfo.h"
bool wxNativeEncodingInfo::FromString(const wxString& WXUNUSED(s))
{
return false;
}
wxString wxNativeEncodingInfo::ToString() const
{
return wxString();
}
//#############################################################################
bool wxGetNativeFontEncoding(wxFontEncoding WXUNUSED(encoding),
wxNativeEncodingInfo *info)
{
*info = wxNativeEncodingInfo();
return false;
}
bool wxTestFontEncoding(const wxNativeEncodingInfo& WXUNUSED(info))
{
return false;
}