fixed incorrect cast in wxRegKey:GetName()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-01-14 09:02:38 +00:00
parent 5a2db5f1df
commit 333b7dac15

View File

@@ -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() )