[wxGTK2] Don't query native font for underlined, but return the set value - storing it natively would likely require
the usage of a PangoAttribute, and I'm not sure if that's even different than just storing it inside wxFontRefData. Not investigating further as PangoAttribute addition would require ABI compatibility breakage anyhow. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -789,12 +789,7 @@ bool wxFont::GetUnderlined() const
 | 
			
		||||
{
 | 
			
		||||
    wxCHECK_MSG( Ok(), FALSE, wxT("invalid font") );
 | 
			
		||||
 | 
			
		||||
#if wxUSE_PANGO
 | 
			
		||||
    return M_FONTDATA->HasNativeFont() ? M_FONTDATA->m_nativeFontInfo.GetUnderlined()
 | 
			
		||||
                                       : M_FONTDATA->m_underlined;
 | 
			
		||||
#else
 | 
			
		||||
    return M_FONTDATA->m_underlined;
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
wxFontEncoding wxFont::GetEncoding() const
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user