]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontcmn.cpp
Choose a legal default font on DC creation.
[wxWidgets.git] / src / common / fontcmn.cpp
index 01625ab42bdf155dfb40937ab9669009e4ef8aab..bddce519a278ceb9fbed95026a13fed3c666c752 100644 (file)
@@ -514,7 +514,7 @@ void wxNativeFontInfo::SetUnderlined(bool underlined_)
     underlined = underlined_;
 }
 
-void wxNativeFontInfo::SetFaceName(wxString facename_)
+void wxNativeFontInfo::SetFaceName(const wxString& facename_)
 {
     faceName = facename_;
 }