diff --git a/imgui_tabs.cpp b/imgui_tabs.cpp index e9305bb..ecfc892 100644 --- a/imgui_tabs.cpp +++ b/imgui_tabs.cpp @@ -133,7 +133,7 @@ void ImGui::TabBar::_drawTabBarTop(const char *label) { // Gather pointers and references ImGuiWindow* wind = ImGui::GetCurrentWindow(); ImDrawList* dl = wind->DrawList; - ImGuiDrawContext& dc = wind->DC; + ImGuiWindowTempData& dc = wind->DC; ImGuiStyle& style = ImGui::GetStyle(); std::string str = label; @@ -255,7 +255,7 @@ void ImGui::TabBar::_drawTabBarBottom() { ImGuiWindow* wind = ImGui::GetCurrentWindow(); ImDrawList* dl = wind->DrawList; ImGuiStyle& style = ImGui::GetStyle(); - ImGuiDrawContext& dc = wind->DC; + ImGuiWindowTempData& dc = wind->DC; const ImVec2 padding = style.WindowPadding;