fixed enumerating of entries/groups under '/' in wxRegConfig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -94,6 +94,7 @@ wxMSW:
|
|||||||
- wxGauge now supports full 32 bit range (Miroslav Rajcic)
|
- wxGauge now supports full 32 bit range (Miroslav Rajcic)
|
||||||
- make it possible to give focus to the notebook tabs (Hajo Kirchhoff)
|
- make it possible to give focus to the notebook tabs (Hajo Kirchhoff)
|
||||||
- MDI child frames are not always resizeable any more (Andrei Fortuna)
|
- MDI child frames are not always resizeable any more (Andrei Fortuna)
|
||||||
|
- fixed enumerating of entries/groups under '/' in wxRegConfig
|
||||||
|
|
||||||
wxGTK:
|
wxGTK:
|
||||||
|
|
||||||
|
@@ -386,13 +386,14 @@ void wxRegConfig::SetPath(const wxString& strPath)
|
|||||||
|
|
||||||
// change current key(s)
|
// change current key(s)
|
||||||
m_keyLocal.SetName(m_keyLocalRoot, strRegPath);
|
m_keyLocal.SetName(m_keyLocalRoot, strRegPath);
|
||||||
m_keyGlobal.SetName(m_keyGlobalRoot, strRegPath);
|
|
||||||
|
|
||||||
// don't create it right now, wait until it is accessed
|
if ( GetStyle() & wxCONFIG_USE_GLOBAL_FILE )
|
||||||
//m_keyLocal.Create();
|
{
|
||||||
|
m_keyGlobal.SetName(m_keyGlobalRoot, strRegPath);
|
||||||
|
|
||||||
wxLogNull nolog;
|
wxLogNull nolog;
|
||||||
m_keyGlobal.Open();
|
m_keyGlobal.Open();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user