Files
Phoenix/wx
cbeytas 98cc99e11c Fix up/down/end/home keys and add PgUp/PgDn
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().
2018-11-21 14:28:06 -05:00
..