mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
remove misleading comments, do not create a copy of strs
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
|
||||
evt = wx.CommandEvent()
|
||||
|
||||
# NOT evt.SetString(strs) as this would be a shallow copy
|
||||
evt.SetString(strs[:]) # make a deep copy
|
||||
evt.SetString(strs)
|
||||
|
||||
wx.TheApp.QueueEvent(evt)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user