From: Vadim Zeitlin Date: Tue, 14 Jan 2003 09:02:38 +0000 (+0000) Subject: fixed incorrect cast in wxRegKey:GetName() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/333b7dac151a49c8553887009553db1a72f8e496 fixed incorrect cast in wxRegKey:GetName() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/registry.cpp b/src/msw/registry.cpp index 75fb41f4aa..4d3dc28b9b 100644 --- a/src/msw/registry.cpp +++ b/src/msw/registry.cpp @@ -299,7 +299,7 @@ bool wxRegKey::Exists() const // returns the full name of the key (prefix is abbreviated if bShortPrefix) wxString wxRegKey::GetName(bool bShortPrefix) const { - StdKey key = GetStdKeyFromHkey((StdKey) m_hRootKey); + StdKey key = GetStdKeyFromHkey((WXHKEY) m_hRootKey); wxString str = bShortPrefix ? aStdKeys[key].szShortName : aStdKeys[key].szName; if ( !m_strKey.IsEmpty() )