- // check that the order is natural in the beginning
- const wxArrayInt orderOrig = m_list->GetColumnsOrder();
- for ( n = 0; n < NUM_COLS; n++ )
- CPPUNIT_ASSERT_EQUAL( n, orderOrig[n] );
+ CPPUNIT_ASSERT_EQUAL(1, frame->GetEventCount(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
+ CPPUNIT_ASSERT(frame->GetEventCount(wxEVT_COMMAND_LIST_COL_DRAGGING) > 0);
+ CPPUNIT_ASSERT_EQUAL(1, frame->GetEventCount(wxEVT_COMMAND_LIST_COL_END_DRAG));
+
+ m_list->ClearAll();
+}
+
+void ListCtrlTestCase::ColumnClick()
+{
+ wxTestableFrame* frame = wxStaticCast(wxTheApp->GetTopWindow(),
+ wxTestableFrame);