mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-02-02 00:50:07 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
11 lines
286 B
Python
11 lines
286 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)
|
|
|