Fix MSVC14 warnings about a shadowed variable in the accessibility sample
Just to suppress some harmless warnings.
This commit is contained in:
parent
8197acfd4b
commit
6ae6a79c67
@ -533,7 +533,6 @@ void MyFrame::LogObject(int indent, IAccessible* obj)
|
|||||||
|
|
||||||
if (S_OK == obj->get_accChild(var, & pDisp) && pDisp)
|
if (S_OK == obj->get_accChild(var, & pDisp) && pDisp)
|
||||||
{
|
{
|
||||||
wxString str;
|
|
||||||
str.Printf(wxT("This is a real object."));
|
str.Printf(wxT("This is a real object."));
|
||||||
str.Pad(indent+4, wxT(' '), false);
|
str.Pad(indent+4, wxT(' '), false);
|
||||||
Log(str);
|
Log(str);
|
||||||
@ -547,7 +546,6 @@ void MyFrame::LogObject(int indent, IAccessible* obj)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxString str;
|
|
||||||
str.Printf(wxT("This is an element."));
|
str.Printf(wxT("This is an element."));
|
||||||
str.Pad(indent+4, wxT(' '), false);
|
str.Pad(indent+4, wxT(' '), false);
|
||||||
Log(str);
|
Log(str);
|
||||||
|
Loading…
Reference in New Issue
Block a user