diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 07082f9b48..772bb94c20 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -1789,6 +1789,11 @@ bool wxTextCtrl::GetStyle(long position, wxTextAttr& style) if ( font.SetNativeFontInfo(wxString(pangoFontString)) ) style.SetFont(font); + if ( pattr->appearance.underline != PANGO_UNDERLINE_NONE ) + style.SetFontUnderlined(true); + if ( pattr->appearance.strikethrough ) + style.SetFontStrikethrough(true); + // TODO: set alignment, tabs and indents }