summaryrefslogtreecommitdiff
path: root/scene/gui/control.h
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-02-02 17:20:31 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2023-02-02 17:37:41 +0100
commit3bc426c9d80db193792e8639b88935ff388ec6fb (patch)
treec8430016d722abf6bfc3cb20a3a1840a3c280688 /scene/gui/control.h
parent315d3c4d21e4ee7df1e45593205e35d7a034aa6d (diff)
Fix toplevel nomenclature
toplevel was 3.x top_level is 4.x
Diffstat (limited to 'scene/gui/control.h')
-rw-r--r--scene/gui/control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h
index 5977f4dbea..2fb5d559b6 100644
--- a/scene/gui/control.h
+++ b/scene/gui/control.h
@@ -292,8 +292,8 @@ private:
void _update_minimum_size();
void _size_changed();
- void _toplevel_changed() override{}; // Controls don't need to do anything, only other CanvasItems.
- void _toplevel_changed_on_parent() override;
+ void _top_level_changed() override {} // Controls don't need to do anything, only other CanvasItems.
+ void _top_level_changed_on_parent() override;
void _clear_size_warning();