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:
parent
12e91a550c
commit
ffdb0ee5ab
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user