diff --git a/src/hello_imgui/internal/menu_statusbar.cpp b/src/hello_imgui/internal/menu_statusbar.cpp index 1d24a156..d2ab8d1b 100644 --- a/src/hello_imgui/internal/menu_statusbar.cpp +++ b/src/hello_imgui/internal/menu_statusbar.cpp @@ -56,7 +56,7 @@ void ShowMenu(RunnerParams & runnerParams) if (!hasMenu) return; - ImGui::BeginMenuBar(); + ImGui::BeginMainMenuBar(); if (runnerParams.imGuiWindowParams.showMenu_App) ShowDefaultAppMenu_Quit(runnerParams); @@ -67,7 +67,7 @@ void ShowMenu(RunnerParams & runnerParams) if (runnerParams.callbacks.ShowMenus) runnerParams.callbacks.ShowMenus(); - ImGui::EndMenuBar(); + ImGui::EndMainMenuBar(); }