summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-09-12 10:50:47 -0700
committerGeorge Hazan <ghazan@miranda.im>2022-09-12 10:50:47 -0700
commitc37dd53c975775172b6e225dca188bcb1102b5a8 (patch)
treef3100daf07ca3f4ceddecc84fbe4033d610f87b2 /plugins
parentd297561a9c43d05da7f6cbe04dfd73b6b5032aca (diff)
fixes #3172 (WhenWasIt window no more accesible for screenreaders)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/WhenWasIt/res/WhenWasIt.rc2
-rw-r--r--plugins/WhenWasIt/src/notifiers.cpp2
-rw-r--r--plugins/WhenWasIt/src/resource.h1
3 files changed, 2 insertions, 3 deletions
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