X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..25e6a4a698b15d72874bd1dbf4d260163a60f005:/src/msw/font.cpp diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 9b6c4cf1ff..059e4bdb59 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -25,7 +25,6 @@ #endif #ifndef WX_PRECOMP - #include "wx/setup.h" #include "wx/list.h" #include "wx/utils.h" #include "wx/app.h" @@ -562,7 +561,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)); } @@ -761,10 +760,6 @@ wxString wxNativeFontInfo::ToString() const // wxFont // ---------------------------------------------------------------------------- -void wxFont::Init() -{ -} - bool wxFont::Create(const wxNativeFontInfo& info, WXHFONT hFont) { UnRef(); @@ -1048,4 +1043,3 @@ bool wxFont::IsFixedWidth() const return wxFontBase::IsFixedWidth(); } -