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
This commit is contained in:
@@ -77,7 +77,7 @@ wxFont *wxFontBase::New(const wxString& strNativeFontDesc)
|
|||||||
|
|
||||||
wxNativeFontInfo *wxFontBase::GetNativeFontInfo() const
|
wxNativeFontInfo *wxFontBase::GetNativeFontInfo() const
|
||||||
{
|
{
|
||||||
#if !defined(__WXGTK__) && !defined(__WXMSW__) && !defined(__WXMGL__)
|
#if !defined(__WXGTK__) && !defined(__WXMSW__)
|
||||||
wxNativeFontInfo *fontInfo = new wxNativeFontInfo;
|
wxNativeFontInfo *fontInfo = new wxNativeFontInfo;
|
||||||
|
|
||||||
fontInfo->pointSize = GetPointSize();
|
fontInfo->pointSize = GetPointSize();
|
||||||
@@ -96,7 +96,7 @@ wxNativeFontInfo *wxFontBase::GetNativeFontInfo() const
|
|||||||
|
|
||||||
void wxFontBase::SetNativeFontInfo(const wxNativeFontInfo& info)
|
void wxFontBase::SetNativeFontInfo(const wxNativeFontInfo& info)
|
||||||
{
|
{
|
||||||
#if !defined(__WXGTK__) && !defined(__WXMSW__) && !defined(__WXMGL__)
|
#if !defined(__WXGTK__) && !defined(__WXMSW__)
|
||||||
SetPointSize(info.pointSize);
|
SetPointSize(info.pointSize);
|
||||||
SetFamily(info.family);
|
SetFamily(info.family);
|
||||||
SetStyle(info.style);
|
SetStyle(info.style);
|
||||||
@@ -193,7 +193,7 @@ wxString wxFontBase::GetWeightString() const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(__WXGTK__) && !defined(__WXMSW__) && !defined(__WXMGL__)
|
#if !defined(__WXGTK__) && !defined(__WXMSW__)
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// wxNativeFontInfo
|
// wxNativeFontInfo
|
||||||
|
Reference in New Issue
Block a user