X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/744d91d41f4756ca4ec61f0a375068a239a6126f..e86aa7a62cc8be79ffaeb0d07b70161cb9ea2c74:/tests/controls/listboxtest.cpp diff --git a/tests/controls/listboxtest.cpp b/tests/controls/listboxtest.cpp index afab5f80ed..32cc9defc2 100644 --- a/tests/controls/listboxtest.cpp +++ b/tests/controls/listboxtest.cpp @@ -184,8 +184,8 @@ void ListBoxTestCase::ClickEvents() wxTestableFrame* frame = wxStaticCast(wxTheApp->GetTopWindow(), wxTestableFrame); - EventCounter selected(frame, wxEVT_COMMAND_LISTBOX_SELECTED); - EventCounter dclicked(frame, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED); + EventCounter selected(frame, wxEVT_LISTBOX); + EventCounter dclicked(frame, wxEVT_LISTBOX_DCLICK); wxUIActionSimulator sim; @@ -220,8 +220,8 @@ void ListBoxTestCase::ClickNotOnItem() wxTestableFrame* frame = wxStaticCast(wxTheApp->GetTopWindow(), wxTestableFrame); - EventCounter selected(frame, wxEVT_COMMAND_LISTBOX_SELECTED); - EventCounter dclicked(frame, wxEVT_COMMAND_LISTBOX_DOUBLECLICKED); + EventCounter selected(frame, wxEVT_LISTBOX); + EventCounter dclicked(frame, wxEVT_LISTBOX_DCLICK); wxUIActionSimulator sim;