X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f510b7b2f386afe6c3705c2cdbc9208435984dac..4c85ab7569677ff535c258c7f25ad428ba1ed406:/docs/latex/wx/config.tex diff --git a/docs/latex/wx/config.tex b/docs/latex/wx/config.tex index 6b2dc4fd7c..6b0a17449d 100644 --- a/docs/latex/wx/config.tex +++ b/docs/latex/wx/config.tex @@ -2,7 +2,7 @@ wxConfigBase class defines the basic interface of all config classes. It can not be used by itself (it is an abstract base class) and you will always use one -of its derivations: wxIniConfig, \helpref{wxFileConfig}{wxfileconfig}, +of its derivations: \helpref{wxFileConfig}{wxfileconfig}, wxRegConfig or any other. However, usually you don't even need to know the precise nature of the class @@ -12,7 +12,7 @@ the registry under Win32 or text-based config files under Unix (or even Windows 3.1 .INI files if you're really unlucky). To make writing the portable code even easier, wxWidgets provides a typedef wxConfig which is mapped onto the native wxConfigBase implementation on the given -platform: i.e. wxRegConfig under Win32 (optionally wxIniConfig) and +platform: i.e. wxRegConfig under Win32 and wxFileConfig otherwise. See \helpref{config overview}{wxconfigoverview} for the descriptions of all @@ -30,8 +30,7 @@ No base class (to let wxWidgets choose a wxConfig class for your platform)\\ (base config class)\\ (wxFileConfig class)\\ - (wxRegConfig class)\\ - (wxIniConfig class) + (wxRegConfig class) \wxheading{Example} @@ -200,6 +199,7 @@ explicitly. Having said all this, enumerating the config entries/groups is very simple: \begin{verbatim} + wxConfigBase *config = ...; wxArrayString aNames; // enumeration variables @@ -395,7 +395,7 @@ your application's responsibility to ensure that there is no newline or other illegal characters in a value, before writing that value to the file.} \docparam{conv}{This parameter is only used by wxFileConfig when compiled -in Unicode mode. It specifies the encoding in what the configuration file +in Unicode mode. It specifies the encoding in which the configuration file is written.} @@ -804,3 +804,4 @@ implements the following methods:\par \twocolitem{{\bf WriteBool(key, value)}}{Writes a boolean} \end{twocollist} }} +