]> git.saurik.com Git - wxWidgets.git/commitdiff
clarified global and local config files behavior
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 22 Jun 2007 22:19:38 +0000 (22:19 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 22 Jun 2007 22:19:38 +0000 (22:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/config.tex

index b7cd63b6cb0b8d6874fb596c9e28d4a09c11c313..4653313e391a8420ec2447ebb2fc7808ae826b09 100644 (file)
@@ -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