Fix MSVC14 warnings about a shadowed variable in the accessibility sample

Just to suppress some harmless warnings.
This commit is contained in:
Artur Wieczorek 2016-09-20 20:30:53 +02:00
parent 8197acfd4b
commit 6ae6a79c67

View File

@ -533,7 +533,6 @@ void MyFrame::LogObject(int indent, IAccessible* obj)
if (S_OK == obj->get_accChild(var, & pDisp) && pDisp)
{
wxString str;
str.Printf(wxT("This is a real object."));
str.Pad(indent+4, wxT(' '), false);
Log(str);
@ -547,7 +546,6 @@ void MyFrame::LogObject(int indent, IAccessible* obj)
}
else
{
wxString str;
str.Printf(wxT("This is an element."));
str.Pad(indent+4, wxT(' '), false);
Log(str);