Fix MSVC14 warnings about a shadowed variable in the propgrid sample.
Just to suppress some harmless warnings.
This commit is contained in:
@@ -3050,10 +3050,10 @@ void FormMain::OnMisc ( wxCommandEvent& event )
|
||||
else if ( id == ID_COLLAPSE )
|
||||
{
|
||||
// Collapses selected.
|
||||
wxPGProperty* id = m_pPropGridManager->GetSelection();
|
||||
if ( id )
|
||||
wxPGProperty* selProp = m_pPropGridManager->GetSelection();
|
||||
if ( selProp )
|
||||
{
|
||||
m_pPropGridManager->Collapse(id);
|
||||
m_pPropGridManager->Collapse(selProp);
|
||||
}
|
||||
}
|
||||
else if ( id == ID_RUNTESTFULL )
|
||||
|
Reference in New Issue
Block a user