Implement wxNativeFontInfo::GetStrikethrough() for wxX11 without pango

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen 2014-11-07 15:14:19 +00:00
parent 44bb92ecd5
commit df5b5baab3

View File

@ -762,6 +762,13 @@ bool wxFont::GetStrikethrough() const
return M_FONTDATA->m_nativeFontInfo.GetStrikethrough();
}
#if defined( __WXX11__ ) && !defined( wxUSE_PANGO )
bool wxNativeFontInfo::GetStrikethrough() const
{
return false;
}
#endif
wxFontEncoding wxFont::GetEncoding() const
{
wxCHECK_MSG( IsOk(), wxFONTENCODING_DEFAULT, wxT("invalid font") );