fixed incorrect cast in wxRegKey:GetName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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() )
|
||||
|
Reference in New Issue
Block a user