X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04af2f5ce39da0adc94f0786a26c80fd1ea8a685..e31f4da5f0e888e3bae947061be02a427c570372:/docs/latex/wx/config.tex?ds=sidebyside diff --git a/docs/latex/wx/config.tex b/docs/latex/wx/config.tex index d944febb1d..4653313e39 100644 --- a/docs/latex/wx/config.tex +++ b/docs/latex/wx/config.tex @@ -23,7 +23,7 @@ so please have a \helpref{look at them.}{wxconfigstaticfunctions} \wxheading{Derived from} -No base class +\helpref{wxObject}{wxobject} \wxheading{Include files} @@ -353,7 +353,7 @@ The following functions control this option: \param{const wxString\& }{localFilename = wxEmptyString}, \param{const wxString\& }{globalFilename = wxEmptyString}, \param{long}{ style = 0}, - \param{wxMBConv\&}{ conv = wxConvUTF8}} + \param{const wxMBConv\&}{ conv = wxConvAuto()}} This is the default and only constructor of the wxConfigBase class, and derived classes. @@ -378,7 +378,11 @@ this is not present, but required, the application name will be used instead.} \docparam{style}{Can be one of wxCONFIG\_USE\_LOCAL\_FILE and wxCONFIG\_USE\_GLOBAL\_FILE. The style interpretation depends on the config class and is ignored by some implementations. For wxFileConfig, these styles -determine whether a local or global config file is created or used. If the +determine whether a local or global config file is created or used: if +wxCONFIG\_USE\_GLOBAL\_FILE is used, then settings are read from the global +config file and if wxCONFIG\_USE\_LOCAL\_FILE is used, settings are read from +and written to local config file (if they are both set, global file is read +first, then local file, overwriting global settings). 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 wxRegConfig, thie GLOBAL flag refers to HKLM @@ -393,8 +397,8 @@ However, this path may be also used as user data directory (see \helpref{wxStandardPaths::GetUserDataDir}{wxstandardpathsgetuserdatadir}) if the application has several data files. In this case wxCONFIG\_USE\_SUBDIR flag, which changes the default local configuration file to \tt{~/.appname/appname} -should be used. Notice that this flag is ignored on non-Unix system, including -VMS, or if a non-default \textit{localFilename} is provided. \newsince{2.8.2} +should be used. Notice that this flag is ignored if \textit{localFilename} is +provided. \newsince{2.8.2} 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