- wxMacCFStringHolder cfNoString( m_no.c_str(), m_font.GetEncoding() );
- wxMacCFStringHolder cfYesString( m_yes.c_str(), m_font.GetEncoding() );
- wxMacCFStringHolder cfOKString( m_ok.c_str() , m_font.GetEncoding()) ;
- wxMacCFStringHolder cfCancelString( m_cancel.c_str(), m_font.GetEncoding() );
+ wxCFStringRef cfNoString( m_no.c_str(), GetFont().GetEncoding() );
+ wxCFStringRef cfYesString( m_yes.c_str(), GetFont().GetEncoding() );
+ wxCFStringRef cfOKString( m_ok.c_str() , GetFont().GetEncoding()) ;
+ wxCFStringRef cfCancelString( m_cancel.c_str(), GetFont().GetEncoding() );