Left() -> BeforeFirst()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-02-21 16:48:03 +00:00
parent 7c1cb26122
commit b32719cc03

View File

@ -143,7 +143,7 @@ const wxChar *wxRegKey::GetStdKeyShortName(size_t key)
wxRegKey::StdKey wxRegKey::ExtractKeyName(wxString& strKey)
{
wxString strRoot = strKey.Left(REG_SEPARATOR);
wxString strRoot = strKey.BeforeFirst(REG_SEPARATOR);
HKEY hRootKey = 0;
size_t ui;