X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..95fd868c8f92ed40f3a4f16a1b3a38f7ee7d44ec:/src/mac/tooltip.cpp?ds=inline diff --git a/src/mac/tooltip.cpp b/src/mac/tooltip.cpp index 317fe723fd..2fbce9c667 100644 --- a/src/mac/tooltip.cpp +++ b/src/mac/tooltip.cpp @@ -190,7 +190,10 @@ void wxMacToolTip::Setup( WindowRef win , wxString text , wxPoint localPosition m_mark++ ; Clear() ; m_position = localPosition ; - m_label = wxMacMakeMacStringFromPC( text ) ; + if( wxApp::s_macDefaultEncodingIsPC ) + m_label = wxMacMakeMacStringFromPC( text ) ; + else + m_label = text ; m_window =win; s_ToolTipWindowRef = m_window ; m_backpict = NULL ;