Remove obsolete code from propgrid sample
This is code for v3.x so it doesn't make sense to check version against v2.8.
This commit is contained in:
parent
f6e05f4ed9
commit
ecb711d2b3
1 changed files with 0 additions and 4 deletions
|
|
@ -133,11 +133,7 @@ void FormMain::OnDumpList( wxCommandEvent& WXUNUSED(event) )
|
|||
|
||||
wxString strValue = v.GetString();
|
||||
|
||||
#if wxCHECK_VERSION(2,8,0)
|
||||
if ( v.GetName().EndsWith("@attr") )
|
||||
#else
|
||||
if ( v.GetName().Right(5) == "@attr" )
|
||||
#endif
|
||||
{
|
||||
text += wxString::Format("Attributes:\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue