Allow associating ComboBoxes to labels (#17476)
Link to issue number:
None
Summary of the issue:
We need to add support for associating labels to a `wx.ComboBox` using `gui.guiHelper.associateElements`.
Additionally, the association for `wx.StaticText` and `wx.CheckBox` was undocumented in the function's docstring.
Description of user facing changes
None
Description of development approach
Added TypeVars and rewrote type hinting to be more specific, clear and self-documenting.
Added support to ComboBoxes for horizontal controls.
Testing strategy:
Tested with NVDA remote