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:
parent
44bb92ecd5
commit
df5b5baab3
@ -762,6 +762,13 @@ bool wxFont::GetStrikethrough() const
|
|||||||
return M_FONTDATA->m_nativeFontInfo.GetStrikethrough();
|
return M_FONTDATA->m_nativeFontInfo.GetStrikethrough();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined( __WXX11__ ) && !defined( wxUSE_PANGO )
|
||||||
|
bool wxNativeFontInfo::GetStrikethrough() const
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
wxFontEncoding wxFont::GetEncoding() const
|
wxFontEncoding wxFont::GetEncoding() const
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( IsOk(), wxFONTENCODING_DEFAULT, wxT("invalid font") );
|
wxCHECK_MSG( IsOk(), wxFONTENCODING_DEFAULT, wxT("invalid font") );
|
||||||
|
Loading…
Reference in New Issue
Block a user