From 1171155fee9767d24805c9f36501fac937419efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Fri, 2 Oct 2020 20:35:43 +0200 Subject: [PATCH] Remove LIST_HITTEST_ONITEMRIGHT handling from listtest sample The ONITEMRIGHT case is only meaningful for trees, and according to the code comment, "not used". Closes https://github.com/wxWidgets/wxWidgets/pull/2070 --- samples/listctrl/listtest.cpp | 1 - 1 file changed, 1 deletion(-) 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;