compilation fixes after making wxFontRefData private (added wxFont::GetMacXXX())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -370,6 +370,8 @@ void wxFont::SetNoAntiAliasing( bool no )
|
||||
// accessors
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// TODO: insert checks everywhere for M_FONTDATA == NULL!
|
||||
|
||||
int wxFont::GetPointSize() const
|
||||
{
|
||||
return M_FONTDATA->m_pointSize;
|
||||
@@ -413,6 +415,26 @@ bool wxFont::GetNoAntiAliasing()
|
||||
return M_FONTDATA->m_noAA;
|
||||
}
|
||||
|
||||
short wxFont::GetMacFontNum() const
|
||||
{
|
||||
return M_FONTDATA->m_macFontNum;
|
||||
}
|
||||
|
||||
short wxFont::GetMacFontSize() const
|
||||
{
|
||||
return M_FONTDATA->m_macFontSize;
|
||||
}
|
||||
|
||||
wxByte wxFont::GetMacFontStyle() const
|
||||
{
|
||||
return M_FONTDATA->m_macFontStyle;
|
||||
}
|
||||
|
||||
wxUint32 wxFont::GetMacATSUFontID() const
|
||||
{
|
||||
return M_FONTDATA->m_macATSUFontID;
|
||||
}
|
||||
|
||||
const wxNativeFontInfo *wxFont::GetNativeFontInfo() const
|
||||
{
|
||||
wxCHECK_MSG( Ok(), NULL, wxT("invalid font") );
|
||||
|
||||
Reference in New Issue
Block a user