IGlass GUI for blitzmax - IV

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hello.

Ok, what's the problem here?
Strict

Include "IGlass_1.5.2\IGL_Classe\Inc_IGlass.bmx"
Graphics 800,600,0
IGL_InitGUI(1)
Global MyWindow01:IGL_Window
MyWindow01=IGL_Window.Create("Window 01",50,50,600,400)

local MyCombo:IGL_Combo
MyCombo=IGL_Combo.Create(MyWindow01,60,130,160)
MyCombo.CreateItem("Combo item number 1")
MyCombo.CreateItem("Combo item number 2")

While Not KeyHit(KEY_ESCAPE)
Cls

IGL_RefreshGui()

Flip
FlushMem()
Wend

IGL_ClearGui()
End


I've traced the error to the following segment in IGL_RefreshChild under inc_master.bmx:
		If IGL_Combo(Child) Then			
			If IGL_Tab(IGL_Combo(Child).TabParent)<>Null And IGL_Tab(IGL_Combo(Child).TabParent).Kill=True Or IGL_Combo(Child).Kill=True  Then 
				List.remove(Child)
			Else
				IGL_Combo(Child).Refresh(IGL_Widget(Parent))
			EndIf
		EndIf

specifically the IGL_Combo(Child).Refresh(IGL_Widget(Parent)) line

Any suggestions? It doesn't seem to happen with other controls.

Goodbye.