change to ImGuiCol_ChildBg so Dear ImGui can be used with IMGUI_DISABLE_OBSOLETE_FUNCTIONS
diff --git a/TextEditor.cpp b/TextEditor.cpp index cddb6ca..b0d6091 100644 --- a/TextEditor.cpp +++ b/TextEditor.cpp
@@ -834,7 +834,7 @@ mTextChanged = false; mCursorPositionChanged = false; - ImGui::PushStyleColor(ImGuiCol_ChildWindowBg, ImGui::ColorConvertU32ToFloat4(mPalette[(int)PaletteIndex::Background])); + ImGui::PushStyleColor(ImGuiCol_ChildBg, ImGui::ColorConvertU32ToFloat4(mPalette[(int)PaletteIndex::Background])); ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0.0f, 0.0f)); ImGui::BeginChild(aTitle, aSize, aBorder, ImGuiWindowFlags_HorizontalScrollbar | ImGuiWindowFlags_AlwaysHorizontalScrollbar | ImGuiWindowFlags_NoMove); ImGui::PushAllowKeyboardFocus(true);