I would appreciate if anyone could tell me how exactly can I destroy a StaticImagePtr?
Hey Altren, Thanks for the quick response.
This is the section that you have referred (in bold):
To destroy widget you need to have widget pointer (widget_ptr). Then write
If you don't have pointer you should get it by finding your widget by name.
MyGUI::WidgetPtr widget = MyGUI::Gui::getInstance().findWidgetT("widget_name");
In this case the widgetptr is destroyed, but not a StaticImagePtr. So do you think this method can be used to destroy StaticImagePtr as well?
StaticImage is widget too.