src/wren-bindings/wrap_imgui_codegen.cpp
/*  return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment */
return true when activated. shortcuts are displayed for convenience but not processed by ImGui at the moment
return true when activated . shortcuts are displayed for convenience but not processed by ImGui at the moment
void w_MenuItem_Override1(WrenVM *vm)
{
	auto label = wrenExGetSlot<const char*>(vm, 1);
	auto shortcut = wrenExIsSlotDefault(vm, 2) ? NULL : wrenExGetSlot<const char*>(vm, 2);
	auto selected = wrenExIsSlotDefault(vm, 3) ? false : wrenExGetSlot<bool>(vm, 3);
	auto enabled = wrenExIsSlotDefault(vm, 4) ? true : wrenExGetSlot<bool>(vm, 4);
	bool out = ImGui::MenuItem(label, shortcut, selected, enabled);
	wrenSetSlotBool(vm, 0, out);
}
void w_MenuItem_Override1 ( WrenVM * vm ) { auto label = wrenExGetSlot < const char * > ( vm , 1 ) ; auto shortcut = wrenExIsSlotDefault ( vm , 2 ) ? NULL : wrenExGetSlot < const char * > ( vm , 2 ) ; auto selected = wrenExIsSlotDefault ( vm , 3 ) ? false : wrenExGetSlot < bool > ( vm , 3 ) ; auto enabled = wrenExIsSlotDefault ( vm , 4 ) ? true : wrenExGetSlot < bool > ( vm , 4 ) ; bool out = ImGui :: MenuItem ( label , shortcut , selected , enabled ) ; wrenSetSlotBool ( vm , 0 , out ) ; }
return true when activated.
return true when activated .