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:
parent
164debb548
commit
3d2754d04a
1 changed files with 1 additions and 6 deletions
|
|
@ -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" )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue