wxPython 4: update deprecated items in settings, elements list, and submenu addition (#8533)
* NVDA menu/submenus: wx.Menu.Append -> wx.Menu.AppendSubMenu, as the former is deprecated.
* wxPyton 4 deprecation: wx.TreeCtrl.*ItemPyData -> wx.TreeCtrl.*ItemData in browse mode/elements list dilaog.
wx.TreeCtrl.{Get/Set}ItemPyData is deprecated, replaced by {Get/Set}ItemData. There are two places where this matters: input gestures dilaog and elemnets list. This commit updates the method name in browse mode/elements list dialog.
* wxPyton 4 deprecation: wx.TreeCtrl.*ItemPyData -> wx.TreeCtrl.*ItemData in settings/input gestures.
wx.TreeCtrl.{Get/Set}ItemPyData is deprecated, replaced by {Get/Set}ItemData. There are two places where this matters: input gestures dialog and elements list. This second commit updates input gestures dialog.
* wxPython 4 deprecation: wx.ListCtrl.SetStringItem -> wx.ListCtrl.SetItem in settings/dictionaries.
wx.ListCtrl.SetStringItem is deprecated as SetItem method can work with all sorts of list items. Thus use this method. This commit updates speech dictionary dialogs.
* wxPython 4 deprecation: wx.ListCtrl.SetStringItem -> wx.ListCtrl.SetItem in settings/symbol pronunciation dialog.
wx.ListCtrl.SetStringItem is deprecated as SetItem method can work with all sorts of list items. Thus use this method. This commit updates punctuation/symbol pronunciation dialog.