X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e45d90901d75b511a851f94306f171fefb06e493..d1bf0be0bcb74c67c35556138b891fd907b1d59f:/src/common/event.cpp?ds=inline diff --git a/src/common/event.cpp b/src/common/event.cpp index 088e5fdbfc..ce1e145c79 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -735,6 +735,8 @@ wxKeyEvent::wxKeyEvent(wxEventType type) #if wxUSE_UNICODE m_uniChar = WXK_NONE; #endif + + InitPropagation(); } wxKeyEvent::wxKeyEvent(const wxKeyEvent& evt) @@ -742,6 +744,8 @@ wxKeyEvent::wxKeyEvent(const wxKeyEvent& evt) wxKeyboardState(evt) { DoAssignMembers(evt); + + InitPropagation(); } wxKeyEvent::wxKeyEvent(wxEventType eventType, const wxKeyEvent& evt) @@ -751,6 +755,8 @@ wxKeyEvent::wxKeyEvent(wxEventType eventType, const wxKeyEvent& evt) DoAssignMembers(evt); m_eventType = eventType; + + InitPropagation(); } bool wxKeyEvent::IsKeyInCategory(int category) const