]> git.saurik.com Git - wxWidgets.git/commitdiff
Set the ID and the event object in the events
authorRobin Dunn <robin@alldunn.com>
Wed, 18 May 2005 02:33:37 +0000 (02:33 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 18 May 2005 02:33:37 +0000 (02:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/foldpanelbar.py

index d6338f32a6a482d61ce1317678b470fcb4686083..2d6550244466ab1a2bf549ace85168bf770e3002 100644 (file)
@@ -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):