summaryrefslogtreecommitdiff
path: root/plugins/FavContacts/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FavContacts/src/options.cpp')
-rw-r--r--plugins/FavContacts/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FavContacts/src/options.cpp b/plugins/FavContacts/src/options.cpp
index 4824d54eb8..2dc5ac89b1 100644
--- a/plugins/FavContacts/src/options.cpp
+++ b/plugins/FavContacts/src/options.cpp
@@ -86,7 +86,7 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARA
SetWindowLongPtr(GetDlgItem(hwnd, IDC_CLIST), GWL_STYLE,
GetWindowLongPtr(GetDlgItem(hwnd, IDC_CLIST), GWL_STYLE) | CLS_CHECKBOXES | CLS_HIDEEMPTYGROUPS | CLS_USEGROUPS | CLS_GREYALTERNATE | CLS_GROUPCHECKBOXES);
- SendMessage(GetDlgItem(hwnd, IDC_CLIST), CLM_SETEXSTYLE, CLS_EX_DISABLEDRAGDROP | CLS_EX_TRACKSELECT, 0);
+ SendDlgItemMessage(hwnd, IDC_CLIST, CLM_SETEXSTYLE, CLS_EX_DISABLEDRAGDROP | CLS_EX_TRACKSELECT, 0);
sttResetListOptions(GetDlgItem(hwnd, IDC_CLIST));
hSelectedContact = db_find_first();