Skip to content

Commit

Permalink
Implement wrapping for wx.ThreadEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
swt2c committed Feb 5, 2023
1 parent a3b6cfe commit d8c8e9e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/sphinx/itemToModuleMap.json
Original file line number Diff line number Diff line change
Expand Up @@ -7240,6 +7240,7 @@
"TheFontList":"wx.",
"TheMimeTypesManager":"wx.",
"ThePenList":"wx.",
"ThreadEvent":"wx.",
"TimePickerCtrl":"wx.adv.",
"TimePickerCtrlNameStr":"wx.adv.",
"TimeSpan":"wx.",
Expand Down
8 changes: 7 additions & 1 deletion etg/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
'wxPressAndTapEvent',


#'wxThreadEvent',
'wxThreadEvent',

]

Expand Down Expand Up @@ -615,6 +615,12 @@ def run():
# deprecated and removed
c.find('Iconized').ignore()

#---------------------------------------
# wxThreadEvent
c = module.find('wxThreadEvent')
c.find('SetPayload').ignore()
c.find('GetPayload').ignore()



# Apply common fixups for all the event classes
Expand Down
3 changes: 3 additions & 0 deletions unittests/test_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ def test_SizeEvent_ctor(self):
def test_SysColourChangedEvent_ctor(self):
evt = wx.SysColourChangedEvent()

def test_ThreadEvent_ctor(self):
evt = wx.ThreadEvent()

def test_UpdateUIEvent_ctor(self):
evt = wx.UpdateUIEvent()

Expand Down

0 comments on commit d8c8e9e

Please sign in to comment.