X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfb0ef701eb4d8043b91822931ca0e6e3af5fddc..7eb8aeb8b172c3772a2b42364c5a1333007d310f:/src/osx/carbon/font.cpp diff --git a/src/osx/carbon/font.cpp b/src/osx/carbon/font.cpp index f8c6f5f347..725afb6699 100644 --- a/src/osx/carbon/font.cpp +++ b/src/osx/carbon/font.cpp @@ -499,6 +499,11 @@ bool wxFont::Create(const wxNativeFontInfo& info) return true; } +wxFont::wxFont(wxOSXSystemFont font) +{ + m_refData = new wxFontRefData( font, 0 ); +} + wxFont::wxFont(const wxString& fontdesc) { wxNativeFontInfo info; @@ -557,15 +562,6 @@ bool wxFont::Create(int pointSize, return true; } -bool wxFont::CreateSystemFont(wxOSXSystemFont font) -{ - UnRef(); - - m_refData = new wxFontRefData( font, 0 ); - - return true; -} - wxFont::~wxFont() { }