Don't generate wxEVT_LIST_ITEM_RIGHT_CLICK outside of item area

Make wxGenericListCtrl used under wxGTK and wxOSX behave the same as the
native wxMSW wxListCtrl and wxTreeCtrl under all platforms and only generate
ITEM_RIGHT_CLICK events when an item was actually clicked, i.e. don't generate
them for the clicks completely outside of the client area.

Closes #4711.
This commit is contained in:
Igor Korot
2016-01-30 18:54:09 +01:00
committed by Vadim Zeitlin
parent 2bd179a2fc
commit aa4aa74154
4 changed files with 11 additions and 2 deletions

View File

@@ -150,6 +150,7 @@ wxGTK:
- Fix clearing of wxComboBox with wxCB_READONLY (Chuddah).
- Fix setting "pressed" bitmap for wxToggleButton (Kevin B. McCarty).
- Fix GTK+ warnings for wxFileDialog with wxFD_MULTIPLE style.
- Don't generate wxEVT_LIST_ITEM_RIGHT_CLICK outside of item area (Igor Korot).
wxMSW: