]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontutil.cpp
adding the first raw version of the execution monitor
[wxWidgets.git] / src / unix / fontutil.cpp
index bdef942006ef9208efc0244a988719e003dc0b3f..4e027ae7d77bf208d92c065c0b6918ddd18b3d3e 100644 (file)
@@ -276,6 +276,10 @@ void wxNativeFontInfo::SetUnderlined(bool WXUNUSED(underlined))
 bool wxNativeFontInfo::SetFaceName(const wxString& facename)
 {
     pango_font_description_set_family(description, wxPANGO_CONV(facename));
+    
+    // we return true because Pango doesn't tell us if the call failed or not;
+    // instead on wxGTK wxFont::SetFaceName() will call wxFontBase::SetFaceName()
+    // which does the check
     return true;
 }