From 0a7d938bc8fb843992cac88b347b5746b78aedc6 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sun, 28 Jun 2015 12:24:50 +0200 Subject: [PATCH] small fixes --- cimgui/cimgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cimgui/cimgui.cpp b/cimgui/cimgui.cpp index bcb284d..5e1fcad 100644 --- a/cimgui/cimgui.cpp +++ b/cimgui/cimgui.cpp @@ -956,12 +956,12 @@ CIMGUI_API void ig_SetNextTreeNodeOpened(bool opened, ImGuiSetCond cond) } // Widgets: Selectable / Lists -CIMGUI_API bool ig_Selectable(CONST char* label, bool selected = false, ImGuiSelectableFlags flags = 0, CONST ImVec2& size = ImVec2(0,0)) +CIMGUI_API bool ig_Selectable(CONST char* label, bool selected, ImGuiSelectableFlags flags, CONST ImVec2& size) { return ImGui::Selectable(label, selected, flags, size); } -CIMGUI_API bool ig_SelectableEx(CONST char* label, bool* p_selected, ImGuiSelectableFlags flags = 0, CONST ImVec2& size = ImVec2(0,0)) +CIMGUI_API bool ig_SelectableEx(CONST char* label, bool* p_selected, ImGuiSelectableFlags flags, CONST ImVec2& size) { return ImGui::Selectable(label, p_selected, flags, size); }