From 0123d43c96558869e3d27b4835737bbcbd7cc31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Thu, 11 Feb 2021 08:35:16 -0800 Subject: [PATCH] Fixed build. --- tools/geometryv/geometryv.cpp | 4 ++-- tools/texturev/texturev.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/geometryv/geometryv.cpp b/tools/geometryv/geometryv.cpp index 531009ebc..52befb53d 100644 --- a/tools/geometryv/geometryv.cpp +++ b/tools/geometryv/geometryv.cpp @@ -1051,7 +1051,7 @@ int _main_(int _argc, char** _argv) ; ImGui::PushItemWidth(-1); - if (ImGui::ListBoxHeader("##empty", ImVec2(0.0f, listHeight) ) ) + if (ImGui::BeginListBox("##empty", ImVec2(0.0f, listHeight) ) ) { const int32_t itemCount = int32_t(view.m_fileList.size() ); @@ -1089,7 +1089,7 @@ int _main_(int _argc, char** _argv) clipper.End(); - ImGui::ListBoxFooter(); + ImGui::EndListBox(); } ImGui::PopFont(); diff --git a/tools/texturev/texturev.cpp b/tools/texturev/texturev.cpp index 98264642c..798debfd6 100644 --- a/tools/texturev/texturev.cpp +++ b/tools/texturev/texturev.cpp @@ -1832,7 +1832,7 @@ int _main_(int _argc, char** _argv) ; ImGui::PushItemWidth(-1); - if (ImGui::ListBoxHeader("##empty", ImVec2(0.0f, listHeight) ) ) + if (ImGui::BeginListBox("##empty", ImVec2(0.0f, listHeight) ) ) { const int32_t itemCount = int32_t(view.m_fileList.size() ); @@ -1870,7 +1870,7 @@ int _main_(int _argc, char** _argv) clipper.End(); - ImGui::ListBoxFooter(); + ImGui::EndListBox(); } ImGui::PopFont();