diff --git a/tests/menu/menu.cpp b/tests/menu/menu.cpp index 99531c5622..b2723baea3 100644 --- a/tests/menu/menu.cpp +++ b/tests/menu/menu.cpp @@ -622,7 +622,7 @@ void MenuTestCase::Events() wxYield(); const wxCommandEvent& ev2 = handler.GetEvent(); - CHECK( ev2.GetId() == MenuTestCase_SelectAll ); + CHECK( ev2.GetId() == static_cast(MenuTestCase_SelectAll) ); // Now create a text control which uses the same accelerator for itself and // check that when the text control has focus, the accelerator does _not_