MCPcopy Create free account
hub / github.com/MyGUI/mygui / onWidgetCreated

Method onWidgetCreated

MyGUIEngine/src/MyGUI_MenuItem.cpp:50–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void MenuItem::onWidgetCreated(Widget* _widget)
51 {
52 Base::onWidgetCreated(_widget);
53
54 MenuControl* child = _widget->castType<MenuControl>(false);
55 if (child != nullptr)
56 {
57 mOwner->_wrapItemChild(this, child);
58 }
59 }
60
61 void MenuItem::setCaption(const UString& _value)
62 {

Callers

nothing calls this directly

Calls 1

_wrapItemChildMethod · 0.80

Tested by

no test coverage detected