clarified global and local config files behavior

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-06-22 22:19:38 +00:00
parent 8019a67305
commit 5e1fd3eb61

View 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