void GridTestCase::LabelClick()
{
-#if wxUSE_UIACTIONSIMULATOR && !defined(__WXGTK__)
+#if wxUSE_UIACTIONSIMULATOR
wxTestableFrame* frame = wxStaticCast(wxTheApp->GetTopWindow(),
wxTestableFrame);
sim.MouseDblClick();
wxYield();
- //A double click event sends a single click event first
- //test to ensure this still happens in the future
- CPPUNIT_ASSERT_EQUAL(1, frame->GetEventCount(wxEVT_GRID_LABEL_LEFT_CLICK));
CPPUNIT_ASSERT_EQUAL(1, frame->GetEventCount(wxEVT_GRID_LABEL_LEFT_DCLICK));
sim.MouseClick(wxMOUSE_BTN_RIGHT);
void GridTestCase::SortClick()
{
-#if wxUSE_UIACTIONSIMULATOR && !defined(__WXGTK__)
+#if wxUSE_UIACTIONSIMULATOR
m_grid->SetSortingColumn(0);
wxTestableFrame* frame = wxStaticCast(wxTheApp->GetTopWindow(),
wxYield();
CPPUNIT_ASSERT_EQUAL(1, frame->GetEventCount());
-
- m_grid->SetSortingColumn(wxNOT_FOUND);
#endif
}