I have a custom toolbar class with children tools, and within those tools are GUI elements. It's all been going well(buttons and check boxes are working as expected) but when I want to use an IGUIEditBox it won't work(it draws but won't interact when clicked on). But it will work if I leave it without a parent.
I'm pretty sure its not my code because IGUIButton works in the same class.
also looking at IGUIButton and IGUIEditBox:
CGUIButtons return for OnEvent()
Code: Select all
return Parent ? Parent->OnEvent(event) : false;
and CGUIEditBoxes:
Code: Select all
return IGUIElement::OnEvent(event);
could this be the problem?