From 0b22070d648e8c45b91f53a04bb310a571efb941 Mon Sep 17 00:00:00 2001 From: GoT Date: Tue, 28 Nov 2023 14:58:09 +0100 Subject: [PATCH] chore: fix typo related to lv_msgbox (#4882) --- docs/widgets/msgbox.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/widgets/msgbox.rst b/docs/widgets/msgbox.rst index 320b6d85a..410f08327 100644 --- a/docs/widgets/msgbox.rst +++ b/docs/widgets/msgbox.rst @@ -66,8 +66,8 @@ Events you can add events to the message box itself. In the event handler, :cpp:expr:`lv_event_get_target(e)` will return the button matrix and :cpp:expr:`lv_event_get_current_target(e)` will return the message box. - :cpp:expr:`lv_msgbox_get_active_btn(msgbox)` and - :cpp:expr:`lv_msgbox_get_active_btn_text(msgbox)` can be used to get the + :cpp:expr:`lv_msgbox_get_active_button(msgbox)` and + :cpp:expr:`lv_msgbox_get_active_button_text(msgbox)` can be used to get the index and text of the clicked button. Learn more about :ref:`events`.