Left() -> BeforeFirst()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7c1cb26122
commit
b32719cc03
@ -143,7 +143,7 @@ const wxChar *wxRegKey::GetStdKeyShortName(size_t key)
|
|||||||
|
|
||||||
wxRegKey::StdKey wxRegKey::ExtractKeyName(wxString& strKey)
|
wxRegKey::StdKey wxRegKey::ExtractKeyName(wxString& strKey)
|
||||||
{
|
{
|
||||||
wxString strRoot = strKey.Left(REG_SEPARATOR);
|
wxString strRoot = strKey.BeforeFirst(REG_SEPARATOR);
|
||||||
|
|
||||||
HKEY hRootKey = 0;
|
HKEY hRootKey = 0;
|
||||||
size_t ui;
|
size_t ui;
|
||||||
|
Loading…
Reference in New Issue
Block a user