mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Fix unused variable warning in ImGui::EndListBox() (#3897)
This commit is contained in:
		| @@ -6220,6 +6220,7 @@ void ImGui::EndListBox() | ||||
|     ImGuiContext& g = *GImGui; | ||||
|     ImGuiWindow* window = g.CurrentWindow; | ||||
|     IM_ASSERT((window->Flags & ImGuiWindowFlags_ChildWindow) && "Mismatched BeginListBox/EndListBox calls. Did you test the return value of BeginListBox?"); | ||||
|     IM_UNUSED(window); | ||||
|  | ||||
|     EndChildFrame(); | ||||
|     EndGroup(); // This is only required to be able to do IsItemXXX query on the whole ListBox including label | ||||
|   | ||||
		Reference in New Issue
	
	Block a user