mouse wheeling the Device type in the spice model editor to get a crash

Steps to reproduce

  1. Place boring cap
  2. Go to properties, spice model editor
  3. Hover over the Device Type
  4. spin your mouse wheel
  5. Crash

chrome_cTUloRkIjk

KiCad Version

Application: KiCad (64-bit)

Version: (6.99.0-4324-g9724f6e736), release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.11.1
	HarfBuzz 4.2.0
	FontConfig 2.14.0
	libcurl/7.83.1-DEV Schannel zlib/1.2.12

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Nov 15 2022 06:23:48
	wxWidgets: 3.2.1 (wchar_t,wx containers)
	Boost: 1.79.0
	OCC: 7.6.0
	Curl: 7.83.1-DEV
	ngspice: 37
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_SPICE=ON