From 333b7dac151a49c8553887009553db1a72f8e496 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 14 Jan 2003 09:02:38 +0000 Subject: [PATCH] fixed incorrect cast in wxRegKey:GetName() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18722 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 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() ) -- 2.47.2