Ticket #14819 (confirmed defect)
Clicking on a panel doesn't restore focus to correct child in wxGTK
|Reported by:||shaurz||Owned by:|
The current implementation wxWindowGTK::SetFocus() calls gtk_widget_child_focus(widget, GTK_DIR_TAB_FORWARD). Unfortunately this causes the *next* child widget (in tab order) of the container to be focused if a child widget had already been previously focused. The fix is to focus GtkContainer::focus_child if has been set.