]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/font.cpp
missing else
[wxWidgets.git] / src / mac / carbon / font.cpp
index 9f08a80e6be74628e4decd9645ebf46c97a14205..404b356b05cbb299ab60f6402e057dcff765bf7c 100644 (file)
@@ -473,13 +473,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)