]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/font.cpp
miscellaneous wxFont enhancements (patch 1496606):
[wxWidgets.git] / src / mac / classic / font.cpp
index 09feb155c6fb581a4f1081e8bbe1ae67bc292c71..daad04f0d7d4f99e257f0c9ea4fde73a103425b0 100644 (file)
@@ -339,13 +339,15 @@ void wxFont::SetWeight(int weight)
     RealizeResource();
 }
 
-void wxFont::SetFaceName(const wxString& faceName)
+bool wxFont::SetFaceName(const wxString& faceName)
 {
     Unshare();
 
     M_FONTDATA->m_faceName = faceName;
 
     RealizeResource();
+
+    return wxFontBase::SetFaceName(faceName);
 }
 
 void wxFont::SetUnderlined(bool underlined)