IGlass GUI for blitzmax - V

BlitzMax Forums/BlitzMax Programming/IGlass GUI for blitzmax - V

Thanks Scott, I had the gadget code ok by myself. I only really needed to reference the changes to IGL_Master, and my new custom gadget is working fine.

Filax: I recently added my first Combo gadget, and now the program is crashing. I've tracked it down through the IGlass files to a line in IGL_Combo.bmx, namely this line :

IGL_DrawImage(SelectedIcon,Combo_Px+2,Combo_Py+1,Color,0,Blend)


I've added a little debug code and SelectedIcon is a null when that line is called. What would cause that to happen? I've checked IGL_Combo's CreateItem method and it seems to use a default icon if I don't supply my own icon for an item ( because I'm not supplying my own icon ) so I'm not sure what the problem could be.