ListBox() changed signature of ListBox() to match Combo(). Still not very happy about not using const char** anymore. (#931)

This commit is contained in:
omar
2017-12-26 15:36:55 +01:00
parent 149523a101
commit d9034bf2d8
2 changed files with 2 additions and 2 deletions

View File

@ -9502,7 +9502,7 @@ void ImGui::ListBoxFooter()
EndGroup();
}
bool ImGui::ListBox(const char* label, int* current_item, const char* const* items, int items_count, int height_items)
bool ImGui::ListBox(const char* label, int* current_item, const char* const items[], int items_count, int height_items)
{
const bool value_changed = ListBox(label, current_item, Items_ArrayGetter, (void*)items, items_count, height_items);
return value_changed;