Ultimatelistctrl arguments do not match overloaded call

I am on Mac OS 13.0, running Python 3.10.6 and wxPython 4.2.0 ; I am seeing the following:

Traceback (most recent call last):
  File "/Users/humberto.a.sanchez.ii/PycharmProjects/PyUt/pyenv-3.10.6/lib/python3.10/site-packages/wx/lib/agw/ultimatelistctrl.py", line 12278, in OnSize
    self.DoLayout()
  File "/Users/humberto.a.sanchez.ii/PycharmProjects/PyUt/pyenv-3.10.6/lib/python3.10/site-packages/wx/lib/agw/ultimatelistctrl.py", line 13657, in DoLayout
    self._mainWin.RecalculatePositions()
  File "/Users/humberto.a.sanchez.ii/PycharmProjects/PyUt/pyenv-3.10.6/lib/python3.10/site-packages/wx/lib/agw/ultimatelistctrl.py", line 9678, in RecalculatePositions
    self.SetScrollbars(SCROLL_UNIT_X, SCROLL_UNIT_Y,
TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has unexpected type 'float'
Traceback (most recent call last):
  File "/Users/humberto.a.sanchez.ii/PycharmProjects/PyUt/pyenv-3.10.6/lib/python3.10/site-packages/wx/lib/agw/ultimatelistctrl.py", line 7091, in OnPaint
    self.RecalculatePositions(False)
  File "/Users/humberto.a.sanchez.ii/PycharmProjects/PyUt/pyenv-3.10.6/lib/python3.10/site-packages/wx/lib/agw/ultimatelistctrl.py", line 9678, in RecalculatePositions
    self.SetScrollbars(SCROLL_UNIT_X, SCROLL_UNIT_Y,
TypeError: _ScrolledWindowBase.SetScrollbars(): argument 3 has unexpected type 'float'
Traceback (most recent call last):
  File "/Users/humberto.a.sanchez.ii/PycharmProjects/PyUt/pyenv-3.10.6/lib/python3.10/site-packages/wx/lib/agw/ultimatelistctrl.py", line 5196, in OnPaint
    header_rect = wx.Rect(x-1, HEADER_OFFSET_Y-1, cw-1, ch)
TypeError: Rect(): arguments did not match any overloaded call:
  overload 1: too many arguments
  overload 2: argument 3 has unexpected type 'float'
  overload 3: argument 1 has unexpected type 'int'
  overload 4: argument 1 has unexpected type 'int'
  overload 5: argument 1 has unexpected type 'int'
  overload 6: argument 1 has unexpected type 'int'

Anyone have any ideas?

Ok never mind on this. Turns out I had registered an onSize callback so I could dynamically resize the columns along a proportional basis. The calculated size were floats. Fixed these so that the column sizes are integers. Voila, no more error