]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/font.cpp
crush compiler warnings and handle out of memory errors slightly better
[wxWidgets.git] / src / cocoa / font.cpp
index 6a14f5022f650a567516b5d55f8476d6620be4ec..7133060f8f513ddc2d8a6d7a51a3c7f91ae18a28 100644 (file)
@@ -189,7 +189,7 @@ void wxFont::SetUnderlined(bool underlined)
 /* New font system */
 wxString wxFont::GetFaceName() const
 {
-    wxString str("");
+    wxString str;
     if (M_FONTDATA)
            str = M_FONTDATA->m_faceName ;
     return str;