Custom widget

cass

23-02-2010 04:42:25

Hi

I would love to create my own custom widget by combining different MyGUI widgets. I figured that I must derive from "MyGUI_Widget.h" and my software compile without any errors. However as soon as I create my widget with


mygui->createWidget<MenuWidget>("Button", coordinates, MyGUI::Align::Default, "Main");


MyGUI throws an exception in WidgetManager::createWidget. Obviously I am missing something. Could someone point me in the right direction?

my.name

23-02-2010 11:04:50

show more code
show log