]> git.saurik.com Git - wxWidgets.git/commit
Applied patch [ 632115 ] Fixed internationalization on tooltips
authorJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 11:22:43 +0000 (11:22 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 11:22:43 +0000 (11:22 +0000)
commit678b263756c9d93e0003ca1d96f2dcdd595caefb
treea5c6ecdb35d8c19de332e933fb3cdfe7e7638c4f
parent73145b0ed18e99b66988c3caf6ad9119911913bb
Applied patch [ 632115 ] Fixed internationalization on tooltips

wxMac's wxTooltip assumed that text was always PC encoded,
and always converted the string using
wxMacMakeMacStringFromPC(). This worked fine for English
characters, but multi-byte encoded languages such as Japanese
(SJIS) because garbled. I've added a check for
"wxApp::s_macDefaultEncodingIsPC" before performing the
conversion similar to other controls.

Nilesh Agarwalla

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/mac/carbon/tooltip.cpp
src/mac/tooltip.cpp