#14821: wxAuiNotebook steals key events intended for children

20 views
Skip to first unread message

wxTrac

unread,
Nov 12, 2012, 1:12:18 PM11/12/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14821>

#14821: wxAuiNotebook steals key events intended for children
---------------------------+------------------------------------------------
Reporter: LukasK | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxAui | Version:
Keywords: wxAuiNotebook | Blockedby:
Patch: 0 | Blocking:
---------------------------+------------------------------------------------
In revisions older than r72663, child panels of a wxAuiNotebook with the
wxWANTS_CHARS-style received all key-presses, even navigation keys like
Ctrl+PgDn.

Since r72664 (72663 did not compile), the wxAuiNotebook containing the
panel receives the keypress as a navigation event, instead of the child
panel receiving it as a keypress.

I don't know if this is an intentional change, but I can also not find a
way to prevent the wxAuiNotebook from intercepting key-presses (other than
an application-level filter on navigation events).


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14821>

wxTrac

unread,
Nov 24, 2012, 12:20:41 PM11/24/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14821#comment:1>

#14821: wxAuiNotebook steals key events intended for children
---------------------------+------------------------------------------------
Reporter: LukasK | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxAui | Version:
Keywords: wxAuiNotebook | Blockedby:
Patch: 0 | Blocking:
---------------------------+------------------------------------------------

Comment(by LukasK):

I tested filtering, and it seems that key-presses like Ctrl+PgDn do not
even reach wxApp::FilterEvent(wxEvent&) when a wxAuiNotebook (or child?)
has focus.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14821#comment:1>
Reply all
Reply to author
Forward
0 new messages