Ticket #15166 (closed defect: fixed)
wxTreeCtrl loses focus after Freeze and Thaw
|Reported by:||andrew.derek.ward||Owned by:||vadz|
|Keywords:||wxTreeCtrl wxWindowUpdateLocker Freeze Thaw regression||Cc:|
This can be reproduced by modifying the treectrl sample to include these lines in MyTreeCtrl::OnTreeKeyDown:
if (event.GetKeyEvent().GetKeyCode() == 'A')
Then run the sample and press the 'a' key while one of the wxTreeCtrl nodes has focus. After the key has been pressed the wxTreeCtrl no longer has focus.
This did not happen in wxWidgets 2.9.4