]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
Do not allow events to fire after socket is closed (fixes crash on GTK with GDK_Input...
[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));
 }