]> git.saurik.com Git - wxWidgets.git/commitdiff
use global file/regkey by default
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Mar 2004 23:04:04 +0000 (23:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Mar 2004 23:04:04 +0000 (23:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/fileconf.h
include/wx/msw/regconf.h

index 725af95b694b061984971343a3c2ba8c1e274cd9..ea5eab449352c3506bd035c4b9b02170eeb3f352 100644 (file)
@@ -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
index 666547a35d07368923a30397dae51ed284f0bde5..3c83e70c9832d40e49660cad4b0d96c7d0c2401c 100644 (file)
@@ -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();