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();