From a4313e3b381aa7c528738775bcc8dfc9fcf0691a Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 1 Jan 2001 11:32:56 +0000 Subject: [PATCH 1/1] fixed docs of wxLocale::Init (forgotted bConvertEncoding) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/locale.tex | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/latex/wx/locale.tex b/docs/latex/wx/locale.tex index 3eebae4c9e..8c1e95c0be 100644 --- a/docs/latex/wx/locale.tex +++ b/docs/latex/wx/locale.tex @@ -131,7 +131,7 @@ added later override those added before. \membersection{wxLocale::Init}\label{wxlocaleinit} -\func{bool}{Init}{\param{const char }{*szName}, \param{const char }{*szShort = NULL}, \param{const char }{*szLocale = NULL}, \param{bool }{bLoadDefault = TRUE}} +\func{bool}{Init}{\param{const char }{*szName}, \param{const char }{*szShort = NULL}, \param{const char }{*szLocale = NULL}, \param{bool }{bLoadDefault = TRUE}, \param{bool }{bConvertEncoding = FALSE}} The parameters have the following meaning: @@ -143,6 +143,12 @@ directory prefix when looking for the message catalog files \item bLoadDefault may be set to FALSE to prevent loading of the message catalog for the given locale containing the translations of standard wxWindows messages. This parameter would be rarely used in normal circumstances. +\item bConvertEncoding may be set to TRUE to do automatic conversion of message +catalogs to platform's native encoding. Note that it will do only basic +conversion between well-known pair like iso8859-1 and windows-1252 or +iso8859-2 and windows-1250. +See \helpref{Writing non-English applications}{nonenglishoverview} for detailed +description of this behaviour. \end{itemize} The call of this function has several global side effects which you should -- 2.45.2