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:
Artur Wieczorek
2019-04-21 20:43:05 +02:00
parent f6e05f4ed9
commit ecb711d2b3

View File

@@ -133,11 +133,7 @@ void FormMain::OnDumpList( wxCommandEvent& WXUNUSED(event) )
wxString strValue = v.GetString(); wxString strValue = v.GetString();
#if wxCHECK_VERSION(2,8,0)
if ( v.GetName().EndsWith("@attr") ) if ( v.GetName().EndsWith("@attr") )
#else
if ( v.GetName().Right(5) == "@attr" )
#endif
{ {
text += wxString::Format("Attributes:\n"); text += wxString::Format("Attributes:\n");