From c37dd53c975775172b6e225dca188bcb1102b5a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Sep 2022 10:50:47 -0700 Subject: fixes #3172 (WhenWasIt window no more accesible for screenreaders) --- plugins/WhenWasIt/src/notifiers.cpp | 2 +- plugins/WhenWasIt/src/resource.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/WhenWasIt/src') diff --git a/plugins/WhenWasIt/src/notifiers.cpp b/plugins/WhenWasIt/src/notifiers.cpp index 7c40bb8995..deb357fcf2 100644 --- a/plugins/WhenWasIt/src/notifiers.cpp +++ b/plugins/WhenWasIt/src/notifiers.cpp @@ -263,7 +263,7 @@ public: int DialogNotifyBirthday(MCONTACT hContact, int dtb, int age) { wchar_t text[1024]; - BuildDABText(dtb, Clist_GetContactDisplayName(hContact), text, _countof(text)); + BuildDTBText(dtb, Clist_GetContactDisplayName(hContact), text, _countof(text)); if (!g_pUpcomingDlg) { g_pUpcomingDlg = new CUpcomingDlg(); diff --git a/plugins/WhenWasIt/src/resource.h b/plugins/WhenWasIt/src/resource.h index debc690fbe..f2545e7eb6 100644 --- a/plugins/WhenWasIt/src/resource.h +++ b/plugins/WhenWasIt/src/resource.h @@ -54,7 +54,6 @@ #define IDC_ANNIVERSARY 1040 #define IDC_EDIT1 1042 #define IDC_DLG_TIMEOUT 1042 -#define IDC_UPCOMING_LIST 1043 #define IDC_DIALOG_STATIC 1044 #define IDC_NOTIFYFOR 1045 #define IDC_DAYS_AFTER 1046 -- cgit v1.2.3