]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/font.cpp
Switch to overriding OnAssertFailure instead of OnAssert
[wxWidgets.git] / src / cocoa / font.cpp
index c8aa187d02a88996eb5cdb92c69984a81e4cf29f..606e2e3d726e435a14a2f4f5dfe0da8747b377c6 100644 (file)
@@ -160,13 +160,15 @@ void wxFont::SetWeight(int weight)
     RealizeResource();
 }
 
     RealizeResource();
 }
 
-void wxFont::SetFaceName(const wxString& faceName)
+bool wxFont::SetFaceName(const wxString& faceName)
 {
     Unshare();
 
     M_FONTDATA->m_faceName = faceName;
 
     RealizeResource();
 {
     Unshare();
 
     M_FONTDATA->m_faceName = faceName;
 
     RealizeResource();
+
+    return wxFontBase::SetFaceName(faceName);
 }
 
 void wxFont::SetUnderlined(bool underlined)
 }
 
 void wxFont::SetUnderlined(bool underlined)