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/res/WhenWasIt.rc | 2 +- plugins/WhenWasIt/src/notifiers.cpp | 2 +- plugins/WhenWasIt/src/resource.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/WhenWasIt/res/WhenWasIt.rc b/plugins/WhenWasIt/res/WhenWasIt.rc index 334a1dfc6c..4509674039 100644 --- a/plugins/WhenWasIt/res/WhenWasIt.rc +++ b/plugins/WhenWasIt/res/WhenWasIt.rc @@ -137,7 +137,7 @@ CAPTION "Upcoming birthdays" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN DEFPUSHBUTTON "Close",IDOK,49,126,132,14 - CONTROL "",IDC_UPCOMING_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,4,4,223,119 + CONTROL "",IDC_BIRTHDAYS_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,4,4,223,119 END 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