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
This commit is contained in:
Artur Wieczorek
2015-02-18 17:17:23 +00:00
parent 821f5da314
commit 0974e13153

View File

@@ -1332,12 +1332,12 @@ bool FormMain::RunTests( bool fullTest, bool interactive )
RT_START_TEST(MultipleColumns) RT_START_TEST(MultipleColumns)
// Test with multiple columns // Test with multiple columns
// FIXME: Does not display changes. CreateGrid( -1, -1 );
FinalizeFramePosition();
pgman = m_pPropGridManager;
for ( i=3; i<12; i+=2 ) for ( i=3; i<12; i+=2 )
{ {
RT_MSG(wxString::Format(wxT("%i columns"),(int)i)); RT_MSG(wxString::Format(wxT("%i columns"),(int)i));
CreateGrid( -1, -1 );
pgman = m_pPropGridManager;
pgman->SetColumnCount(i); pgman->SetColumnCount(i);
Refresh(); Refresh();
Update(); Update();