mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-14 00:34:18 +00:00
Revert "Added PushID(size_t sz) helper (may not be useful/meaningful for non C/C++ languages)."
This reverts commit 20bc06af70.
This commit is contained in:
parent
f56d9b74cc
commit
b26ac92a12
3 changed files with 0 additions and 9 deletions
|
|
@ -6454,13 +6454,6 @@ void ImGui::PushID(const void* ptr_id)
|
|||
window->IDStack.push_back(window->GetIDNoKeepAlive(ptr_id));
|
||||
}
|
||||
|
||||
void ImGui::PushID(size_t int_id)
|
||||
{
|
||||
const void* ptr_id = (void*)int_id;
|
||||
ImGuiWindow* window = GImGui->CurrentWindow;
|
||||
window->IDStack.push_back(window->GetIDNoKeepAlive(ptr_id));
|
||||
}
|
||||
|
||||
void ImGui::PushID(int int_id)
|
||||
{
|
||||
const void* ptr_id = (void*)(intptr_t)int_id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue