mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 20:40:11 +01:00
11 lines
330 B
Python
11 lines
330 B
Python
|
|
def FunctionInAWorkerThread(strs):
|
|
|
|
evt = wx.CommandEvent()
|
|
|
|
# NOT evt.SetString(strs) as this would be a shallow copy
|
|
evt.SetString(strs[:]) # make a deep copy
|
|
|
|
wx.TheApp.QueueEvent(evt)
|
|
|