]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/foldpanelbar.py
Set the ID and the event object in the events
[wxWidgets.git] / 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):