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
This commit is contained in:
parent
7343610edc
commit
7c2c2e0742
@ -759,9 +759,10 @@ class CaptionBar(wx.Window):
|
|||||||
|
|
||||||
if send_event:
|
if send_event:
|
||||||
event = CaptionBarEvent(wxEVT_CAPTIONBAR)
|
event = CaptionBarEvent(wxEVT_CAPTIONBAR)
|
||||||
|
event.SetId(self.GetId())
|
||||||
|
event.SetEventObject(self)
|
||||||
event.SetBar(self)
|
event.SetBar(self)
|
||||||
self.GetEventHandler().ProcessEvent(event)
|
self.GetEventHandler().ProcessEvent(event)
|
||||||
event.Skip()
|
|
||||||
|
|
||||||
|
|
||||||
def OnChar(self, event):
|
def OnChar(self, event):
|
||||||
|
Loading…
Reference in New Issue
Block a user