Merge pull request #77411 from saki7/control-get_drag_data-const

Expose `Control::_get_drag_data()` as non-const function
This commit is contained in:
Rémi Verschelde 2023-05-24 08:49:57 +02:00
commit 5562100d33
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@
[/codeblocks]
</description>
</method>
<method name="_get_drag_data" qualifiers="virtual const">
<method name="_get_drag_data" qualifiers="virtual">
<return type="Variant" />
<param index="0" name="at_position" type="Vector2" />
<description>

View File

@ -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)