From fa2d17ac257933db45094faded8aa56e908ca45b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 3 Mar 2004 23:04:04 +0000 Subject: [PATCH] use global file/regkey by default git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/fileconf.h | 2 +- include/wx/msw/regconf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/fileconf.h b/include/wx/fileconf.h index 725af95b69..ea5eab4493 100644 --- a/include/wx/fileconf.h +++ b/include/wx/fileconf.h @@ -121,7 +121,7 @@ public: const wxString& vendorName = wxEmptyString, const wxString& localFilename = wxEmptyString, const wxString& globalFilename = wxEmptyString, - long style = wxCONFIG_USE_LOCAL_FILE, + long style = wxCONFIG_USE_LOCAL_FILE | wxCONFIG_USE_GLOBAL_FILE, wxMBConv& conv = wxConvUTF8); #if wxUSE_STREAMS diff --git a/include/wx/msw/regconf.h b/include/wx/msw/regconf.h index 666547a35d..3c83e70c98 100644 --- a/include/wx/msw/regconf.h +++ b/include/wx/msw/regconf.h @@ -34,7 +34,7 @@ public: const wxString& vendorName = wxEmptyString, const wxString& localFilename = wxEmptyString, const wxString& globalFilename = wxEmptyString, - long style = 0); + long style = wxCONFIG_USE_GLOBAL_FILE); // dtor will save unsaved data virtual ~wxRegConfig();