From 7c2c2e0742a3846be5d070ed629f9c040d616f99 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 18 May 2005 02:33:37 +0000 Subject: [PATCH] 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 --- wxPython/wx/lib/foldpanelbar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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):