Fix previous local declaration warning in wxRegKey sample

This commit is contained in:
Maarten Bent
2020-04-07 19:24:51 +02:00
parent 52ef7157e7
commit 362fe04b0f

View File

@@ -1070,9 +1070,9 @@ bool RegTreeCtrl::TreeNode::OnExpand()
case wxRegKey::Type_Dword:
{
long l;
m_pKey->QueryValue(str, &l);
strItem << l;
long ldw;
m_pKey->QueryValue(str, &ldw);
strItem << ldw;
}
wxFALLTHROUGH;