summaryrefslogtreecommitdiff
path: root/scene/gui/subviewport_container.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2021-08-23 09:46:19 -0300
committerGitHub <noreply@github.com>2021-08-23 09:46:19 -0300
commita0ef77eaee427cf077ac884a8d3a956137ee615a (patch)
tree40bf21e1beae1a6883770d2ac0473222ff41ae65 /scene/gui/subviewport_container.h
parent2d446771d6701bb77432b6df5a768e53c9a6c95d (diff)
parent5cecdfa8afb91a60305b429f5b738e27dadbc83f (diff)
Merge pull request #51983 from reduz/remove-bind-vmethod
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
Diffstat (limited to 'scene/gui/subviewport_container.h')
-rw-r--r--scene/gui/subviewport_container.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/subviewport_container.h b/scene/gui/subviewport_container.h
index 77cf4c16b3..7853f1590e 100644
--- a/scene/gui/subviewport_container.h
+++ b/scene/gui/subviewport_container.h
@@ -47,8 +47,8 @@ public:
void set_stretch(bool p_enable);
bool is_stretch_enabled() const;
- void _input(const Ref<InputEvent> &p_event);
- void _unhandled_input(const Ref<InputEvent> &p_event);
+ virtual void input(const Ref<InputEvent> &p_event) override;
+ virtual void unhandled_input(const Ref<InputEvent> &p_event) override;
void set_stretch_shrink(int p_shrink);
int get_stretch_shrink() const;