From 3dbd47ecb626beef34bd057fc8f87c951f09834e Mon Sep 17 00:00:00 2001 From: Nana Sakisaka <1901813+saki7@users.noreply.github.com> Date: Wed, 24 May 2023 05:43:15 +0900 Subject: [PATCH] Expose Control::_get_drag_data() as non-const function --- doc/classes/Control.xml | 2 +- scene/gui/control.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/Control.xml b/doc/classes/Control.xml index 9a34bc4f994..36074639dc7 100644 --- a/doc/classes/Control.xml +++ b/doc/classes/Control.xml @@ -75,7 +75,7 @@ [/codeblocks] - + diff --git a/scene/gui/control.h b/scene/gui/control.h index e36e2797155..7cb8fc5bf6a 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -349,7 +349,7 @@ protected: GDVIRTUAL0RC(Vector2, _get_minimum_size) GDVIRTUAL1RC(String, _get_tooltip, Vector2) - GDVIRTUAL1RC(Variant, _get_drag_data, Vector2) + GDVIRTUAL1R(Variant, _get_drag_data, Vector2) GDVIRTUAL2RC(bool, _can_drop_data, Vector2, Variant) GDVIRTUAL2(_drop_data, Vector2, Variant) GDVIRTUAL1RC(Object *, _make_custom_tooltip, String)