From 5e1fd3eb6103c8f91bcec37ddffe322b8ddbfaa5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 22 Jun 2007 22:19:38 +0000 Subject: [PATCH] clarified global and local config files behavior git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/config.tex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/latex/wx/config.tex b/docs/latex/wx/config.tex index b7cd63b6cb..4653313e39 100644 --- a/docs/latex/wx/config.tex +++ b/docs/latex/wx/config.tex @@ -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 -- 2.45.2