{
CPPUNIT_ASSERT_EQUAL( 0, m_header->GetColumnCount() );
- m_header->AppendColumn(wxHeaderColumn("Column 1"));
+ m_header->AppendColumn(wxHeaderColumnSimple("Column 1"));
CPPUNIT_ASSERT_EQUAL( 1, m_header->GetColumnCount() );
- m_header->AppendColumn(wxHeaderColumn("Column 2"));
+ m_header->AppendColumn(wxHeaderColumnSimple("Column 2"));
CPPUNIT_ASSERT_EQUAL( 2, m_header->GetColumnCount() );
- m_header->InsertColumn(wxHeaderColumn("Column 0"), 0);
+ m_header->InsertColumn(wxHeaderColumnSimple("Column 0"), 0);
CPPUNIT_ASSERT_EQUAL( 3, m_header->GetColumnCount() );
m_header->DeleteColumn(2);
CPPUNIT_ASSERT( sizeEmpty.x > 0 );
CPPUNIT_ASSERT( sizeEmpty.y > 0 );
- m_header->AppendColumn(wxHeaderColumn("Foo"));
- m_header->AppendColumn(wxHeaderColumn("Bar"));
+ m_header->AppendColumn(wxHeaderColumnSimple("Foo"));
+ m_header->AppendColumn(wxHeaderColumnSimple("Bar"));
const wxSize size = m_header->GetBestSize();
CPPUNIT_ASSERT_EQUAL( sizeEmpty.y, size.y );
}