diff options
author | Max Khon <fjoe@FreeBSD.org> | 2005-11-08 07:28:39 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2005-11-08 07:28:39 +0000 |
commit | 31a8351b98bb6c70ae0786f55eea4b624d6bbce6 (patch) | |
tree | e9db7b6806918ebd3b748aa79f4a20364f5be362 /x11-toolkits/wxgtk26/files | |
parent | 3bbf3779bf14229965d330a9f5a23f8c7669fca3 (diff) | |
download | ports-31a8351b98bb6c70ae0786f55eea4b624d6bbce6.tar.gz ports-31a8351b98bb6c70ae0786f55eea4b624d6bbce6.zip |
Notes
Diffstat (limited to 'x11-toolkits/wxgtk26/files')
-rw-r--r-- | x11-toolkits/wxgtk26/files/patch-src-common-intl.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-toolkits/wxgtk26/files/patch-src-common-intl.cpp b/x11-toolkits/wxgtk26/files/patch-src-common-intl.cpp new file mode 100644 index 000000000000..12488d2b710e --- /dev/null +++ b/x11-toolkits/wxgtk26/files/patch-src-common-intl.cpp @@ -0,0 +1,23 @@ +=================================================================== +RCS file: /pack/cvsroots/wxwidgets/wxWidgets/src/common/intl.cpp,v +retrieving revision 1.166 +retrieving revision 1.166.2.1 +diff -u -r1.166 -r1.166.2.1 +--- src/common/intl.cpp 2005/09/18 23:38:06 1.166 ++++ src/common/intl.cpp 2005/09/28 09:48:03 1.166.2.1 +@@ -1260,9 +1260,14 @@ + inputConv = + csConv = new wxCSConv(m_charset); + } +- else // no conversion needed ++ else // no need to convert the encoding + { ++ // we still need the conversion for Unicode build ++#if wxUSE_UNICODE ++ inputConv = wxConvCurrent; ++#else // !wxUSE_UNICODE + inputConv = NULL; ++#endif + } + + // conversion to apply to msgid strings before looking them up: we only |