mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
CustromTreeCtrl key handling fixes: UP key not working if previous item's children were disabled. DOWN key not working if the next parent was disabled. END not working when the last item in the tree is disabled. HOME not working if the top item in the tree was disabled. Adds handling for PageUp and PageDown keys. Previously CustomTreeCtrl would let these keys be handled by the ScrolledWindow subclass which scrolls by a page but doesn't update the selection. This change moves the selection to the first/last visible item, or by an entire page if the first/last visible item is already selected. This mimics native control handling and avoids disabled items. Adds two methods: GetPrevShown() and GetNextShown().