From: Vadim Zeitlin Date: Mon, 21 Feb 2000 16:48:03 +0000 (+0000) Subject: Left() -> BeforeFirst() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b32719cc03c7c383513639dfadbaefa16a8e8a09 Left() -> BeforeFirst() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index a3326ec899..612f021467 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -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;