X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4772c241f010306b6f9e93edd2dabe763ff9c40..88a01064f05bea04682cfde8d82b110d4c80299b:/src/msw/font.cpp diff --git a/src/msw/font.cpp b/src/msw/font.cpp index c9f7b35890..d335ae6fce 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "font.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -566,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)); }