wxString::Right() changed to AfterLast() (config works again)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-01-20 14:47:59 +00:00
parent 898efd1a88
commit 08159082b5
2 changed files with 8 additions and 5 deletions

View File

@@ -448,7 +448,7 @@ bool wxRegConfig::DeleteEntry(const wxString& value, bool bGroupIfEmptyAlso)
return FALSE;
if ( !m_keyLocal.HasSubkeys() ) {
wxString strKey = GetPath().Right(wxCONFIG_PATH_SEPARATOR);
wxString strKey = GetPath().AfterLast(wxCONFIG_PATH_SEPARATOR);
SetPath(".."); // changes m_keyLocal
return m_keyLocal.DeleteKey(strKey);
}