summaryrefslogtreecommitdiff
path: root/plugins/ShellExt/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ShellExt/src/options.cpp')
-rw-r--r--plugins/ShellExt/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ShellExt/src/options.cpp b/plugins/ShellExt/src/options.cpp
index b8088416c3..132f2b29f8 100644
--- a/plugins/ShellExt/src/options.cpp
+++ b/plugins/ShellExt/src/options.cpp
@@ -60,7 +60,7 @@ static INT_PTR CALLBACK OptDialogProc(HWND hwndDlg, UINT wMsg, WPARAM wParam, LP
CheckDlgButton(hwndDlg, IDC_HIDEOFFLINE,
db_get_b(0, SHLExt_Name, SHLExt_ShowNoOffline, BST_UNCHECKED));
// give the Remove button a Vista icon
- SendMessage(GetDlgItem(hwndDlg, IDC_REMOVE), BCM_SETSHIELD, 0, 1);
+ SendDlgItemMessage(hwndDlg, IDC_REMOVE, BCM_SETSHIELD, 0, 1);
return TRUE;
case WM_NOTIFY: