From ecb711d2b3d64759967f504d352bfcd5beb98835 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sun, 21 Apr 2019 20:43:05 +0200 Subject: [PATCH] Remove obsolete code from propgrid sample This is code for v3.x so it doesn't make sense to check version against v2.8. --- samples/propgrid/tests.cpp | 4 ---- 1 file changed, 4 deletions(-) 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");