]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/font.cpp
Fixed a long-standing issue where wxSlider controls with a hardcoded size would mispl...
[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
 {
 /* New font system */
 wxString wxFont::GetFaceName() const
 {
-    wxString str("");
+    wxString str;
     if (M_FONTDATA)
            str = M_FONTDATA->m_faceName ;
     return str;
     if (M_FONTDATA)
            str = M_FONTDATA->m_faceName ;
     return str;