src/lua-bindings/wrap_imgui_codegen.cpp
/*  create a sub-menu entry. only call EndMenu() if this returns true! */
create a sub-menu entry. only call EndMenu() if this returns true!
create a sub - menu entry . only call EndMenu () if this returns true!
int w_BeginMenu(lua_State *L)
{
	auto label = luaL_checkstring(L, 1);
	auto enabled = luax_optboolean(L, 2, true);
	bool out = ImGui::BeginMenu(label, enabled);
	lua_pushboolean(L, out);
	return 1;
}
int w_BeginMenu ( lua_State * L ) { auto label = luaL_checkstring ( L , 1 ) ; auto enabled = luax_optboolean ( L , 2 , true ) ; bool out = ImGui :: BeginMenu ( label , enabled ) ; lua_pushboolean ( L , out ) ; return 1 ; }
create a sub-menu entry.
create a sub - menu entry .