X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..2f36e8dce5df017e609309190bc94fd45bad5293:/src/msw/font.cpp diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 9b6c4cf1ff..d335ae6fce 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -562,7 +562,7 @@ void wxNativeFontInfo::SetUnderlined(bool underlined) lf.lfUnderline = underlined; } -void wxNativeFontInfo::SetFaceName(wxString facename) +void wxNativeFontInfo::SetFaceName(const wxString& facename) { wxStrncpy(lf.lfFaceName, facename, WXSIZEOF(lf.lfFaceName)); }