diff --git a/include/wx/compositewin.h b/include/wx/compositewin.h index 23ee6f738b..a5d93b02bf 100644 --- a/include/wx/compositewin.h +++ b/include/wx/compositewin.h @@ -223,6 +223,8 @@ private: void OnChar(wxKeyEvent& event) { + wxEventObjectOriginSetter setThis(event, this, this->GetId()); + if ( !this->ProcessWindowEvent(event) ) event.Skip(); }