From 7dc6dbe77ee500a76359f7514dc4938200eeb169 Mon Sep 17 00:00:00 2001 From: Victor Bombi Date: Mon, 2 Mar 2020 21:39:24 +0100 Subject: [PATCH] use IMGUI_HAS_DOCK instead of having to define IMGUI_DOCKING --- generator/cimgui_template.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/cimgui_template.cpp b/generator/cimgui_template.cpp index e466e2e..8221343 100644 --- a/generator/cimgui_template.cpp +++ b/generator/cimgui_template.cpp @@ -59,7 +59,7 @@ CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p) p->~ImVector(); } -#ifdef IMGUI_DOCKING +#ifdef IMGUI_HAS_DOCK // NOTE: Some function pointers in the ImGuiPlatformIO structure are not C-compatible because of their // use of a complex return type. To work around this, we store a custom CimguiStorage object inside