summaryrefslogtreecommitdiff
path: root/plugins/NotesAndReminders/src/reminders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NotesAndReminders/src/reminders.cpp')
-rw-r--r--plugins/NotesAndReminders/src/reminders.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NotesAndReminders/src/reminders.cpp b/plugins/NotesAndReminders/src/reminders.cpp
index e6e2b35639..d7428069e7 100644
--- a/plugins/NotesAndReminders/src/reminders.cpp
+++ b/plugins/NotesAndReminders/src/reminders.cpp
@@ -1747,7 +1747,7 @@ INT_PTR CALLBACK DlgProcNotifyReminder(HWND Dialog,UINT Message,WPARAM wParam,LP
if (pReminder->handle == Dialog)
{
- if (SendDlgItemMessage(Dialog, IDC_AFTER, BM_GETCHECK, 0, 0) == BST_CHECKED)
+ if (IsDlgButtonChecked(Dialog, IDC_AFTER) == BST_CHECKED)
{
// delta time
@@ -1810,7 +1810,7 @@ INT_PTR CALLBACK DlgProcNotifyReminder(HWND Dialog,UINT Message,WPARAM wParam,LP
pReminder->When = li;
pReminder->When.QuadPart += (TT * FILETIME_TICKS_PER_SEC);
}
- else if (SendDlgItemMessage(Dialog, IDC_ONDATE, BM_GETCHECK, 0, 0) == BST_CHECKED)
+ else if (IsDlgButtonChecked(Dialog, IDC_ONDATE) == BST_CHECKED)
{
SYSTEMTIME Date;