Blame wxGTK-2.6.2-intl_cpp.patch
|
Matthew Miller |
c839df |
===================================================================
|
|
Matthew Miller |
c839df |
RCS file: /pack/cvsroots/wxwidgets/wxWidgets/src/common/intl.cpp,v
|
|
Matthew Miller |
c839df |
retrieving revision 1.166
|
|
Matthew Miller |
c839df |
retrieving revision 1.166.2.1
|
|
Matthew Miller |
c839df |
diff -u -r1.166 -r1.166.2.1
|
|
Matthew Miller |
c839df |
--- src/common/intl.cpp 2005/09/18 23:38:06 1.166
|
|
Matthew Miller |
c839df |
+++ src/common/intl.cpp 2005/09/28 09:48:03 1.166.2.1
|
|
Matthew Miller |
c839df |
@@ -5,7 +5,7 @@
|
|
Matthew Miller |
c839df |
// Modified by: Michael N. Filippov <michael@idisys.iae.nsk.su>
|
|
Matthew Miller |
c839df |
// (2003/09/30 - PluralForms support)
|
|
Matthew Miller |
c839df |
// Created: 29/01/98
|
|
Matthew Miller |
c839df |
-// RCS-ID: $Id: intl.cpp,v 1.166 2005/09/18 23:38:06 VZ Exp $
|
|
Matthew Miller |
c839df |
+// RCS-ID: $Id: intl.cpp,v 1.166.2.1 2005/09/28 09:48:03 VZ Exp $
|
|
Matthew Miller |
c839df |
// Copyright: (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
|
|
Matthew Miller |
c839df |
// Licence: wxWindows licence
|
|
Matthew Miller |
c839df |
/////////////////////////////////////////////////////////////////////////////
|
|
Matthew Miller |
c839df |
@@ -1260,9 +1260,14 @@
|
|
Matthew Miller |
c839df |
inputConv =
|
|
Matthew Miller |
c839df |
csConv = new wxCSConv(m_charset);
|
|
Matthew Miller |
c839df |
}
|
|
Matthew Miller |
c839df |
- else // no conversion needed
|
|
Matthew Miller |
c839df |
+ else // no need to convert the encoding
|
|
Matthew Miller |
c839df |
{
|
|
Matthew Miller |
c839df |
+ // we still need the conversion for Unicode build
|
|
Matthew Miller |
c839df |
+#if wxUSE_UNICODE
|
|
Matthew Miller |
c839df |
+ inputConv = wxConvCurrent;
|
|
Matthew Miller |
c839df |
+#else // !wxUSE_UNICODE
|
|
Matthew Miller |
c839df |
inputConv = NULL;
|
|
Matthew Miller |
c839df |
+#endif
|
|
Matthew Miller |
c839df |
}
|
|
Matthew Miller |
c839df |
|
|
Matthew Miller |
c839df |
// conversion to apply to msgid strings before looking them up: we only
|
|
Matthew Miller |
c839df |
|