X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/427ff66291af2d8dd34ff5ee68c81436997144a1..f7476b53e6da9a916d7863dc62bc6c7f60685651:/src/mac/font.cpp diff --git a/src/mac/font.cpp b/src/mac/font.cpp index 5ffa4f828b..d94805d819 100644 --- a/src/mac/font.cpp +++ b/src/mac/font.cpp @@ -120,7 +120,10 @@ void wxFontRefData::MacFindFont() //TODO:if we supply the style as an additional parameter we must make a testing //sequence in order to degrade gracefully while trying to maintain most of the style //information, meanwhile we just take the normal font and apply the features after - OSStatus status = ::ATSUFONDtoFontID(m_macFontNum, normal /*qdStyle*/, (UInt32*)&m_macATSUFontID); +#ifdef __WXDEBUG__ + OSStatus status = +#endif // __WXDEBUG__ + ::ATSUFONDtoFontID(m_macFontNum, normal /*qdStyle*/, (UInt32*)&m_macATSUFontID); /* status = ATSUFindFontFromName ( (Ptr) m_faceName , strlen( m_faceName ) , kFontFullName, kFontMacintoshPlatform, kFontRomanScript , kFontNoLanguage , (UInt32*)&m_macATSUFontID ) ;