summaryrefslogtreecommitdiff
path: root/waf
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-11-17 14:38:20 +0100
committerCarl Hetherington <cth@carlh.net>2024-11-17 14:46:52 +0100
commitd51d330f78f11160509a764060ecc17a731e97cf (patch)
treecc40490776f66d57960ed9057fd799076e4fa019 /waf
parent4a57f54fe4f0039439c54a86d175859764c70578 (diff)
Fix multi-selection of content.v2.16.98
In order to add ellipsizing of text we're using this "mode" of wxListCtrl where `OnGetItemAttr` is called to get information about an item. This was intended to support very long lists, so that the whole list does not have to be given to wxListCtrl. However, in this mode, multiple selections (e.g. shift-click) are just not reported. There's a 13-year-old wxWidgets bug to fix this: https://github.com/wxWidgets/wxWidgets/issues/4541 and there is mentioned the workaround applied here - listen to the focused event. We have to delay it because on macOS (at least) the selection state is not updated until after the focused event.
Diffstat (limited to 'waf')
0 files changed, 0 insertions, 0 deletions