-
- // FIXME: This test fails on MSW buildbot slaves although works fine on
- // development machine, no idea why.
-#ifndef __WXMSW__
- CPPUNIT_ASSERT_EQUAL(1, frame->GetEventCount(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
-#endif
-
- CPPUNIT_ASSERT_EQUAL(1, frame->GetEventCount(wxEVT_COMMAND_LIST_ITEM_SELECTED));
- CPPUNIT_ASSERT_EQUAL(1, frame->GetEventCount(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
- CPPUNIT_ASSERT_EQUAL(1, frame->GetEventCount(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
+ CPPUNIT_ASSERT_EQUAL(1, focused.GetCount());
+ CPPUNIT_ASSERT_EQUAL(1, selected.GetCount());
+ CPPUNIT_ASSERT_EQUAL(1, activated.GetCount());
+ CPPUNIT_ASSERT_EQUAL(1, rclick.GetCount());