Fixed build.

This commit is contained in:
Бранимир Караџић 2021-02-11 08:35:16 -08:00
parent b5afc2c81c
commit 0123d43c96
2 changed files with 4 additions and 4 deletions

View File

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

View File

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