diff options
Diffstat (limited to 'scene/gui/center_container.cpp')
-rw-r--r-- | scene/gui/center_container.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/center_container.cpp b/scene/gui/center_container.cpp index e7814d07b2..c1c04ced84 100644 --- a/scene/gui/center_container.cpp +++ b/scene/gui/center_container.cpp @@ -92,8 +92,8 @@ void CenterContainer::_notification(int p_what) { void CenterContainer::_bind_methods() { - ClassDB::bind_method(_MD("set_use_top_left","enable"),&CenterContainer::set_use_top_left); - ClassDB::bind_method(_MD("is_using_top_left"),&CenterContainer::is_using_top_left); + ClassDB::bind_method(D_METHOD("set_use_top_left","enable"),&CenterContainer::set_use_top_left); + ClassDB::bind_method(D_METHOD("is_using_top_left"),&CenterContainer::is_using_top_left); ADD_PROPERTY( PropertyInfo(Variant::BOOL,"use_top_left"),"set_use_top_left","is_using_top_left"); } |