fixing 10.5 only compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -718,8 +718,6 @@ private :
|
|||||||
|
|
||||||
wxMacCoreGraphicsFontData::wxMacCoreGraphicsFontData(wxGraphicsRenderer* renderer, const wxFont &font, const wxColour& col) : wxGraphicsObjectRefData( renderer )
|
wxMacCoreGraphicsFontData::wxMacCoreGraphicsFontData(wxGraphicsRenderer* renderer, const wxFont &font, const wxColour& col) : wxGraphicsObjectRefData( renderer )
|
||||||
{
|
{
|
||||||
m_macATSUIStyle = NULL;
|
|
||||||
OSStatus status = noErr;
|
|
||||||
m_colour = col;
|
m_colour = col;
|
||||||
m_underlined = font.GetUnderlined();
|
m_underlined = font.GetUnderlined();
|
||||||
|
|
||||||
@@ -727,6 +725,8 @@ wxMacCoreGraphicsFontData::wxMacCoreGraphicsFontData(wxGraphicsRenderer* rendere
|
|||||||
m_ctFont.reset( wxCFRetain((CTFontRef) font.MacGetCTFont()) );
|
m_ctFont.reset( wxCFRetain((CTFontRef) font.MacGetCTFont()) );
|
||||||
#endif
|
#endif
|
||||||
#if wxMAC_USE_ATSU_TEXT
|
#if wxMAC_USE_ATSU_TEXT
|
||||||
|
OSStatus status = noErr;
|
||||||
|
m_macATSUIStyle = NULL;
|
||||||
|
|
||||||
status = ATSUCreateAndCopyStyle( (ATSUStyle) font.MacGetATSUStyle() , &m_macATSUIStyle );
|
status = ATSUCreateAndCopyStyle( (ATSUStyle) font.MacGetATSUStyle() , &m_macATSUIStyle );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user