Browse Source

Demo: Remove unnecessary code added by 24bd33ac.

omar 5 years ago
parent
commit
628614c6ea
1 changed files with 0 additions and 21 deletions
  1. 0 21
      imgui_demo.cpp

+ 0 - 21
imgui_demo.cpp

@@ -288,27 +288,6 @@ void ImGui::ShowDemoWindow(bool* p_open)
     // Menu Bar
     // Menu Bar
     if (ImGui::BeginMenuBar())
     if (ImGui::BeginMenuBar())
     {
     {
-        if (ImGui::BeginMenu("Foo"))
-        {
-            if (ImGui::BeginMenu("AAA"))
-            {
-                ImGui::EndMenu();
-            }
-            if (ImGui::BeginMenu("BBB"))
-            {
-                ImGui::EndMenu();
-            }
-            if (ImGui::BeginMenu("AAA"))
-            {
-                ImGui::EndMenu();
-            }
-            if (ImGui::BeginMenu("BBB"))
-            {
-                ImGui::EndMenu();
-            }
-            ImGui::EndMenu();
-        }
-
         if (ImGui::BeginMenu("Menu"))
         if (ImGui::BeginMenu("Menu"))
         {
         {
             ShowExampleMenuFile();
             ShowExampleMenuFile();