initialize NUM_COLS correctly in columns order test (closes #10630)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-03-23 12:18:51 +00:00
parent 12e91a550c
commit ffdb0ee5ab

View File

@ -83,12 +83,13 @@ void ListCtrlTestCase::tearDown()
void ListCtrlTestCase::ColumnsOrder()
{
static const int NUM_COLS;
int n;
wxListItem li;
li.SetMask(wxLIST_MASK_TEXT);
// first set up some columns
static const int NUM_COLS = 3;
m_list->InsertColumn(0, "Column 0");
m_list->InsertColumn(1, "Column 1");
m_list->InsertColumn(2, "Column 2");