From: Václav Slavík Date: Mon, 6 Aug 2001 22:39:11 +0000 (+0000) Subject: why was generic wxNativeFontInfo code disabled for wxMGL? X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6dabdbb43a4c47b53cd7f984a9e7aa1ba3646617 why was generic wxNativeFontInfo code disabled for wxMGL? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index c6b9720509..4176be9b54 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -77,7 +77,7 @@ wxFont *wxFontBase::New(const wxString& strNativeFontDesc) wxNativeFontInfo *wxFontBase::GetNativeFontInfo() const { -#if !defined(__WXGTK__) && !defined(__WXMSW__) && !defined(__WXMGL__) +#if !defined(__WXGTK__) && !defined(__WXMSW__) wxNativeFontInfo *fontInfo = new wxNativeFontInfo; fontInfo->pointSize = GetPointSize(); @@ -96,7 +96,7 @@ wxNativeFontInfo *wxFontBase::GetNativeFontInfo() const void wxFontBase::SetNativeFontInfo(const wxNativeFontInfo& info) { -#if !defined(__WXGTK__) && !defined(__WXMSW__) && !defined(__WXMGL__) +#if !defined(__WXGTK__) && !defined(__WXMSW__) SetPointSize(info.pointSize); SetFamily(info.family); SetStyle(info.style); @@ -193,7 +193,7 @@ wxString wxFontBase::GetWeightString() const } } -#if !defined(__WXGTK__) && !defined(__WXMSW__) && !defined(__WXMGL__) +#if !defined(__WXGTK__) && !defined(__WXMSW__) // ---------------------------------------------------------------------------- // wxNativeFontInfo