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
This commit is contained in:
committed by
Vadim Zeitlin
parent
aef3976e13
commit
1171155fee
@@ -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;
|
||||
|
Reference in New Issue
Block a user