From 06060b4f2bf34204e7ea520c5d4e0ac4a2d1eb32 Mon Sep 17 00:00:00 2001 From: Eric Mellino Date: Mon, 6 Feb 2017 02:42:47 -0800 Subject: [PATCH] Fix return type of BeginMenuBar. --- src/ImGui.NET/ImGui.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ImGui.NET/ImGui.cs b/src/ImGui.NET/ImGui.cs index 0e24902..a28d368 100644 --- a/src/ImGui.NET/ImGui.cs +++ b/src/ImGui.NET/ImGui.cs @@ -507,9 +507,9 @@ namespace ImGuiNET return ImGuiNative.igBeginMenu(label, enabled); } - public static void BeginMenuBar() + public static bool BeginMenuBar() { - ImGuiNative.igBeginMenuBar(); + return ImGuiNative.igBeginMenuBar(); } public static void CloseCurrentPopup()