Remove code not doing anything from propgrid sample

This code, added back in 1c4293cb91 (added wxPropertyGrid from Jaakko
Salli (#9934), 2008-09-12), resulted in warnings about an unused
variable from clang and was generally confusing, so just remove this
code entirely as it's not clear what was actually the intention here.
This commit is contained in:
Vadim Zeitlin 2023-01-05 21:29:40 +01:00
parent 164debb548
commit 3d2754d04a

View file

@ -699,12 +699,7 @@ void FormMain::OnPropertyGridChange( wxPropertyGridEvent& event )
}
else if ( name == "Password" )
{
static int pwdMode = 0;
//m_pPropGridManager->SetPropertyAttribute(property, wxPG_STRING_PASSWORD, (long)pwdMode);
pwdMode++;
pwdMode &= 1;
// Do something very secret here...
}
else
if ( name == "Font" )