CPPUNIT_ASSERT_EQUAL(back, m_grid->GetCellTextColour(0, 0));
- m_grid->SetCellAlignment(wxALIGN_CENTRE, 0, 0);
+ m_grid->SetCellAlignment(0, 0, wxALIGN_CENTRE);
m_grid->GetCellAlignment(0, 0, &cellhoriz, &cellvert);
CPPUNIT_ASSERT_EQUAL(static_cast<int>(wxALIGN_CENTRE), cellhoriz);
CPPUNIT_ASSERT_EQUAL(static_cast<int>(wxALIGN_LEFT), cellhoriz);
CPPUNIT_ASSERT_EQUAL(static_cast<int>(wxALIGN_BOTTOM), cellvert);
- m_grid->SetCellTextColour(*wxRED, 0, 0);
+ m_grid->SetCellTextColour(0, 0, *wxRED);
CPPUNIT_ASSERT_EQUAL(*wxRED, m_grid->GetCellTextColour(0, 0));