Invalid type cast error in InitializeWnd of TlistBox
Original Reporter info from Mantis: michael @mvancanneyt
-
Reporter name: Michael Van Canneyt
Original Reporter info from Mantis: michael @mvancanneyt
- Reporter name: Michael Van Canneyt
Description:
Run the attached program. (one of the samples with English lazarus book)
In menu 'SPlitter' select 'vertical'.
You'll get an 'Invalid type cast' exception in TCustomListbox.InitializeWNd, line 118 of customlistbox.inc
The code seems valid, I'm guessing somewhere a new FItems is assigned which is not of type TExtendedStringList.
Tested on GTK2, But I assume it will happen on all platforms given that it's in customlistbox.inc
Mantis conversion info:
- Mantis ID: 19882
- OS: Linux
- OS Build: 2.6.x
- Platform: Linux
- Version: 0.9.30.1 (SVN)
- Fixed in revision: 36758 (#6c1a7ae7)
- Monitored by: » luizamerico (Luiz Americo)
- Target version: 1.0.0