diff --git a/samples/propgrid/tests.cpp b/samples/propgrid/tests.cpp index 1a9516b332..cdcfac98a7 100644 --- a/samples/propgrid/tests.cpp +++ b/samples/propgrid/tests.cpp @@ -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");