From: Robin Dunn Date: Wed, 18 May 2005 02:33:37 +0000 (+0000) Subject: Set the ID and the event object in the events X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7c2c2e0742a3846be5d070ed629f9c040d616f99?ds=inline Set the ID and the event object in the events git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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):