diff --git a/samples/propgrid/tests.cpp b/samples/propgrid/tests.cpp index 4f13184f4c..c5db4a6739 100644 --- a/samples/propgrid/tests.cpp +++ b/samples/propgrid/tests.cpp @@ -1197,11 +1197,7 @@ bool FormMain::RunTests( bool fullTest, bool interactive ) // // Ok, this time only hide half of them arr1 = GetPropertiesInRandomOrder(page); -#if wxCHECK_VERSION(2,8,0) arr1.resize(arr1.size()/2); -#else - arr1.SetCount(arr1.size()/2); -#endif if ( !_failed_ ) {