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