The KillFlags enumeration provides the following values:
Description
Value
wx.KILL_NOCHILDREN
don’t kill children
wx.KILL_CHILDREN
kill children