Ticket #14819 (confirmed defect)
Clicking on a panel doesn't restore focus to correct child in wxGTK
| Reported by: | shaurz | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxGTK | Version: | 2.9-svn |
| Keywords: | Cc: | ||
| Blocked By: | Patch: | no | |
| Blocking: |
Description
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.
Fix attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

