X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ad6d522edba31d25f8197553eaad8dd170b7595..7e521b01c32d4f98de9f6b7624968ee4cdaada93:/src/msw/regconf.cpp?ds=sidebyside diff --git a/src/msw/regconf.cpp b/src/msw/regconf.cpp index 8428fb5341..39a13a4bc4 100644 --- a/src/msw/regconf.cpp +++ b/src/msw/regconf.cpp @@ -148,8 +148,8 @@ wxRegConfig::wxRegConfig(const wxString& appName, const wxString& vendorName, if ( bDoUseGlobal ) { wxLogNull nolog; - m_keyGlobalRoot.Open(); - m_keyGlobal.Open(); + m_keyGlobalRoot.Open(wxRegKey::Read); + m_keyGlobal.Open(wxRegKey::Read); } } @@ -392,7 +392,7 @@ void wxRegConfig::SetPath(const wxString& strPath) m_keyGlobal.SetName(m_keyGlobalRoot, strRegPath); wxLogNull nolog; - m_keyGlobal.Open(); + m_keyGlobal.Open(wxRegKey::Read); } }