don't need Pango workaround code with GTK+3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
16ec076753
commit
e4d0bc4bb1
1 changed files with 3 additions and 0 deletions
|
|
@ -487,6 +487,7 @@ bool wxFont::GTKSetPangoAttrs(PangoLayout* layout) const
|
|||
PangoAttrList* attrs = pango_attr_list_new();
|
||||
PangoAttribute* a;
|
||||
|
||||
#ifndef __WXGTK3__
|
||||
if (wx_pango_version_check(1,16,0))
|
||||
{
|
||||
// a PangoLayout which has leading/trailing spaces with underlined font
|
||||
|
|
@ -525,6 +526,8 @@ bool wxFont::GTKSetPangoAttrs(PangoLayout* layout) const
|
|||
pango_attr_list_insert(attrs, a);
|
||||
}
|
||||
}
|
||||
#endif // !__WXGTK3__
|
||||
|
||||
if (GetUnderlined())
|
||||
{
|
||||
a = pango_attr_underline_new(PANGO_UNDERLINE_SINGLE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue