From c6e45280d777e59cbdda8d21a46ef6c297bb7b88 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 29 Apr 2022 15:50:56 +0100 Subject: [PATCH] Increase maximum allowed size of test virtual grid in the sample This allows to see that the grid is currently not redrawn correctly under MSW when it has more than ~6,000,000 rows due to overflowing the device space span of 2^27. --- samples/grid/griddemo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/grid/griddemo.cpp b/samples/grid/griddemo.cpp index cd8adfb2b6..8d807b5f92 100644 --- a/samples/grid/griddemo.cpp +++ b/samples/grid/griddemo.cpp @@ -1932,7 +1932,7 @@ void GridFrame::OnVTable(wxCommandEvent& ) "Size: ", "wxGridDemo question", s_sizeGrid, - 0, 32000, this); + 0, 10000000, this); if ( s_sizeGrid != -1 ) {