diff --git a/samples/listctrl/listtest.cpp b/samples/listctrl/listtest.cpp index 1c4213098b..2218622b4e 100644 --- a/samples/listctrl/listtest.cpp +++ b/samples/listctrl/listtest.cpp @@ -1442,7 +1442,6 @@ void MyListCtrl::OnRightClick(wxMouseEvent& event) case wxLIST_HITTEST_NOWHERE: where = "nowhere near"; break; case wxLIST_HITTEST_ONITEMICON: where = "on icon of"; break; case wxLIST_HITTEST_ONITEMLABEL: where = "on label of"; break; - case wxLIST_HITTEST_ONITEMRIGHT: where = "right on"; break; case wxLIST_HITTEST_TOLEFT: where = "to the left of"; break; case wxLIST_HITTEST_TORIGHT: where = "to the right of"; break; default: where = "not clear exactly where on"; break;