mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	TabItem: honor ImGuiTabItemFlags_NoCloseButton passed as parameter (although undocumented and part of private api) (#2923)
This commit is contained in:
		| @@ -2027,7 +2027,7 @@ static void ShowDemoWindowLayout() | ||||
|             if (ImGui::BeginTabBar("MyTabBar", tab_bar_flags)) | ||||
|             { | ||||
|                 for (int n = 0; n < IM_ARRAYSIZE(opened); n++) | ||||
|                     if (opened[n] && ImGui::BeginTabItem(names[n], &opened[n])) | ||||
|                     if (opened[n] && ImGui::BeginTabItem(names[n], &opened[n], ImGuiTabItemFlags_None)) | ||||
|                     { | ||||
|                         ImGui::Text("This is the %s tab!", names[n]); | ||||
|                         if (n & 1) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user