]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontutil.h
fix wxBitmapComboBox Gtk-CRITICAL assertion `GTK_IS_ENTRY (entry)' failed
[wxWidgets.git] / include / wx / fontutil.h
index 0291b9217622c406036469ecf95b3123fe9f9d85..106205f24cd1cf3344864fa71ace4c60828cac41 100644 (file)
@@ -71,6 +71,11 @@ class WXDLLIMPEXP_CORE wxNativeFontInfo
 public:
 #if wxUSE_PANGO
     PangoFontDescription *description;
+
+    // Pango font description doesn't have these attributes, so we store them
+    // separately and handle them ourselves in {To,From}String() methods.
+    bool m_underlined;
+    bool m_strikethrough;
 #elif defined(_WX_X_FONTLIKE)
     // the members can't be accessed directly as we only parse the
     // xFontName on demand