summaryrefslogtreecommitdiff
path: root/scene/gui/subviewport_container.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/subviewport_container.h')
-rw-r--r--scene/gui/subviewport_container.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/subviewport_container.h b/scene/gui/subviewport_container.h
index 63a58b5f07..fdd8fe9486 100644
--- a/scene/gui/subviewport_container.h
+++ b/scene/gui/subviewport_container.h
@@ -44,6 +44,9 @@ protected:
void _notification(int p_what);
static void _bind_methods();
+ virtual void add_child_notify(Node *p_child) override;
+ virtual void remove_child_notify(Node *p_child) override;
+
public:
void set_stretch(bool p_enable);
bool is_stretch_enabled() const;