From 0974e13153dc36a401714bd580439c8f069b92a4 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Wed, 18 Feb 2015 17:17:23 +0000 Subject: [PATCH] Fix "Multiple Columns" test in propgrid sample. Resize grid to make the results of test visible. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/propgrid/tests.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/propgrid/tests.cpp b/samples/propgrid/tests.cpp index acbcee9bef..a0dea7efdd 100644 --- a/samples/propgrid/tests.cpp +++ b/samples/propgrid/tests.cpp @@ -1332,12 +1332,12 @@ bool FormMain::RunTests( bool fullTest, bool interactive ) RT_START_TEST(MultipleColumns) // Test with multiple columns - // FIXME: Does not display changes. + CreateGrid( -1, -1 ); + FinalizeFramePosition(); + pgman = m_pPropGridManager; for ( i=3; i<12; i+=2 ) { RT_MSG(wxString::Format(wxT("%i columns"),(int)i)); - CreateGrid( -1, -1 ); - pgman = m_pPropGridManager; pgman->SetColumnCount(i); Refresh(); Update();