diff --git a/imgui.cpp b/imgui.cpp index 782d10f8..727776e4 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -11358,6 +11358,11 @@ static void ShowExampleMenuFile() { ImGui::MenuItem("Hello"); ImGui::MenuItem("Sailor"); + if (ImGui::BeginMenu("Recurse..")) + { + ShowExampleMenuFile(); + ImGui::EndMenu(); + } ImGui::EndMenu(); } ImGui::EndMenu();