Refactor setting main frame size in propgrid sample

Determine and set main frame size on creation.
This commit is contained in:
Artur Wieczorek
2020-04-18 22:40:50 +02:00
parent d9f8eec602
commit a39aff4018
3 changed files with 13 additions and 28 deletions

View File

@@ -1765,7 +1765,6 @@ bool FormMain::RunTests( bool fullTest, bool interactive )
// Test with multiple columns
ReplaceGrid( -1, -1 );
FinalizeFramePosition();
pgman = m_pPropGridManager;
for ( i=3; i<12; i+=2 )
{
@@ -1811,9 +1810,6 @@ bool FormMain::RunTests( bool fullTest, bool interactive )
pgman = m_pPropGridManager;
}
// Restore original grid size
FinalizeFramePosition();
RT_START_TEST(none)
bool retVal;