diff --git a/doc/classes/BaseButton.xml b/doc/classes/BaseButton.xml index 9dc5d8cf8ff..1b1272b329c 100644 --- a/doc/classes/BaseButton.xml +++ b/doc/classes/BaseButton.xml @@ -55,7 +55,7 @@ If [code]true[/code], the button is in disabled state and can't be clicked or toggled. - [i]Deprecated.[/i] This property has been deprecated due to redundancy and no longer has any effect when set. Please use [member Control.focus_mode] instead. + [i]Deprecated.[/i] This property has been deprecated due to redundancy and will be removed in Godot 4.0. This property no longer has any effect when set. Please use [member Control.focus_mode] instead. diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index 107c39efcea..039baba5b3e 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -323,7 +323,6 @@ void BaseButton::set_enabled_focus_mode(FocusMode p_mode) { if (!status.disabled) { set_focus_mode(p_mode); } - WARN_DEPRECATED_MSG("BaseButton's Enabled Focus Mode property has been deprecated due to redundancy and will be removed in Godot 4.0. Please use Control.set_focus_mode instead."); } Control::FocusMode BaseButton::get_enabled_focus_mode() const {