diff --git a/docs/latex/wx/config.tex b/docs/latex/wx/config.tex index 9d8c865fba..b00e4624c6 100644 --- a/docs/latex/wx/config.tex +++ b/docs/latex/wx/config.tex @@ -368,18 +368,13 @@ a local or global config file is created or used. If the flag is present but the parameter is empty, the parameter will be set to a default. If the parameter is present but the style flag not, the relevant flag will be added to the style. For wxFileConfig you can also add wxCONFIG\_USE\_RELATIVE\_PATH -by logicaly or'ing it to either of the \_FILE options to tell wxFileConfig to +by logically or'ing it to either of the \_FILE options to tell wxFileConfig to use relative instead of absolute paths. For wxFileConfig, you can also add wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS which will turn off character escaping for the values of entries stored in the config file: for example -a {\it foo} key with some backslash characters will be stored as -\begin{verbatim} - foo=C:\mydir -\end{verbatim} -instead of the usual storage of -\begin{verbatim} - foo=C:\\mydir -\end{verbatim} +a {\it foo} key with some backslash characters will be stored as {\tt foo=C:$\backslash$mydir} instead +of the usual storage of {\tt foo=C:$\backslash\backslash$mydir}. + The wxCONFIG\_USE\_NO\_ESCAPE\_CHARACTERS style can be helpful if your config file must be read or written to by a non-wxWindows program (which might not understand the escape characters). Note, however, that if