summaryrefslogtreecommitdiffstats
path: root/scene/gui/control.h
diff options
context:
space:
mode:
authorNana Sakisaka <1901813+saki7@users.noreply.github.com>2023-05-24 05:43:15 +0900
committerNana Sakisaka <1901813+saki7@users.noreply.github.com>2023-05-24 06:09:45 +0900
commit3dbd47ecb626beef34bd057fc8f87c951f09834e (patch)
tree9f3f1767cd63ae7aa23c1919971c86451183abc0 /scene/gui/control.h
parentf581f21dd61a8fb581b80d07755cdf60c95d146d (diff)
downloadredot-engine-3dbd47ecb626beef34bd057fc8f87c951f09834e.tar.gz
Expose Control::_get_drag_data() as non-const function
Diffstat (limited to 'scene/gui/control.h')
-rw-r--r--scene/gui/control.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h
index e36e279715..7cb8fc5bf6 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)