diff --git a/wxPython/wx/lib/foldpanelbar.py b/wxPython/wx/lib/foldpanelbar.py index d6338f32a6..2d65502444 100644 --- a/wxPython/wx/lib/foldpanelbar.py +++ b/wxPython/wx/lib/foldpanelbar.py @@ -759,9 +759,10 @@ class CaptionBar(wx.Window): if send_event: event = CaptionBarEvent(wxEVT_CAPTIONBAR) + event.SetId(self.GetId()) + event.SetEventObject(self) event.SetBar(self) self.GetEventHandler().ProcessEvent(event) - event.Skip() def OnChar(self, event):