From b32719cc03c7c383513639dfadbaefa16a8e8a09 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 21 Feb 2000 16:48:03 +0000 Subject: [PATCH] Left() -> BeforeFirst() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/registry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2