Merge pull request #148 from Roflraging/master

Added missing implementation for ImGui::GetWindowCollapsed().
diff --git a/imgui.cpp b/imgui.cpp
index 5936f9a..17c0200 100644
--- a/imgui.cpp
+++ b/imgui.cpp
@@ -3487,6 +3487,12 @@
     SetWindowCollapsed(window, collapsed, cond);
 }
 
+bool ImGui::GetWindowCollapsed()
+{
+    ImGuiWindow* window = GetCurrentWindow();
+    return window->Collapsed;
+}
+
 void ImGui::SetWindowCollapsed(const char* name, bool collapsed, ImGuiSetCond cond)
 {
     ImGuiWindow* window = FindWindowByName(name);