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();