forgot to update after renaming wxHeaderCtrlColumn to wxHeaderColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
56b18fda94
commit
20f4a2e41f
@ -79,13 +79,13 @@ void HeaderCtrlTestCase::AddDelete()
|
||||
{
|
||||
CPPUNIT_ASSERT_EQUAL( 0, m_header->GetColumnCount() );
|
||||
|
||||
m_header->AppendColumn(wxHeaderCtrlColumn("Column 1"));
|
||||
m_header->AppendColumn(wxHeaderColumn("Column 1"));
|
||||
CPPUNIT_ASSERT_EQUAL( 1, m_header->GetColumnCount() );
|
||||
|
||||
m_header->AppendColumn(wxHeaderCtrlColumn("Column 2"));
|
||||
m_header->AppendColumn(wxHeaderColumn("Column 2"));
|
||||
CPPUNIT_ASSERT_EQUAL( 2, m_header->GetColumnCount() );
|
||||
|
||||
m_header->InsertColumn(wxHeaderCtrlColumn("Column 0"), 0);
|
||||
m_header->InsertColumn(wxHeaderColumn("Column 0"), 0);
|
||||
CPPUNIT_ASSERT_EQUAL( 3, m_header->GetColumnCount() );
|
||||
|
||||
m_header->DeleteColumn(2);
|
||||
@ -98,8 +98,8 @@ void HeaderCtrlTestCase::BestSize()
|
||||
CPPUNIT_ASSERT( sizeEmpty.x > 0 );
|
||||
CPPUNIT_ASSERT( sizeEmpty.y > 0 );
|
||||
|
||||
m_header->AppendColumn(wxHeaderCtrlColumn("Foo"));
|
||||
m_header->AppendColumn(wxHeaderCtrlColumn("Bar"));
|
||||
m_header->AppendColumn(wxHeaderColumn("Foo"));
|
||||
m_header->AppendColumn(wxHeaderColumn("Bar"));
|
||||
const wxSize size = m_header->GetBestSize();
|
||||
CPPUNIT_ASSERT_EQUAL( sizeEmpty.y, size.y );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user