]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
set error to GSOCK_TIMEOUT if the socket timed out (modified and extended patch 1303554)
[wxWidgets.git] / src / msw / font.cpp
index 9b6c4cf1ff832942743b7d10f9e15923b3387387..d335ae6fce6bd48a49302192a12059344ca32b55 100644 (file)
@@ -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));
 }