diff --git a/tests/controls/gridtest.cpp b/tests/controls/gridtest.cpp index 7bffd9be71..3649985b36 100644 --- a/tests/controls/gridtest.cpp +++ b/tests/controls/gridtest.cpp @@ -554,7 +554,7 @@ TEST_CASE_METHOD(GridTestCase, "Grid::SelectionRange", "[grid]") REQUIRE( sel.begin() != sel.end() ); CHECK( *sel.begin() == wxGridBlockCoords(1, 0, 3, 1) ); -#if __cplusplus >= 201103L || wxCHECK_VISUALC_VERSION(10) +#if __cplusplus >= 201103L || wxCHECK_VISUALC_VERSION(11) m_grid->SelectBlock(4, 0, 7, 1, true); int index = 0; for ( const wxGridBlockCoords& block : m_grid->GetSelectedBlocks() )