fixed bug with not reading settings from HKLM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bee96abfbc
commit
9a85c87d32
@ -90,6 +90,8 @@ wxMSW:
|
||||
- Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
|
||||
XP theming (some applications look bad without 3D borders)
|
||||
- wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more
|
||||
- wxRegConf couldn't read global settings without admin privileges and didn't
|
||||
even try to do it by default -- now it does
|
||||
|
||||
|
||||
2.5.1
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user