projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TestDestroy() is not const any more (warnings suppressed)
[wxWidgets.git]
/
src
/
msw
/
regconf.cpp
diff --git
a/src/msw/regconf.cpp
b/src/msw/regconf.cpp
index f06413bf318de948a27c597244b87066f459d836..99382c2ce2d9ea21a4d13b54729c6827cab97cad 100644
(file)
--- a/
src/msw/regconf.cpp
+++ b/
src/msw/regconf.cpp
@@
-448,7
+448,7
@@
bool wxRegConfig::DeleteEntry(const wxString& value, bool bGroupIfEmptyAlso)
return FALSE;
if ( !m_keyLocal.HasSubkeys() ) {
return FALSE;
if ( !m_keyLocal.HasSubkeys() ) {
- wxString strKey = GetPath().
Righ
t(wxCONFIG_PATH_SEPARATOR);
+ wxString strKey = GetPath().
AfterLas
t(wxCONFIG_PATH_SEPARATOR);
SetPath(".."); // changes m_keyLocal
return m_keyLocal.DeleteKey(strKey);
}
SetPath(".."); // changes m_keyLocal
return m_keyLocal.DeleteKey(strKey);
}