fix "Primary mouse button changes prematurely."

See issue #3949 for more details.

svn path=/trunk/; revision=38440
This commit is contained in:
Christoph von Wittich 2008-12-29 07:14:35 +00:00
parent ea025bdb03
commit 715d203273

View file

@ -333,7 +333,6 @@ ButtonProc(IN HWND hwndDlg,
SendMessage((HWND)lParam, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0);
SendDlgItemMessage(hwndDlg, IDC_IMAGE_SWAP_MOUSE, STM_SETIMAGE, IMAGE_ICON, (LPARAM)pButtonData->hButtonRight);
}
SystemParametersInfo(SPI_SETMOUSEBUTTONSWAP, pButtonData->g_SwapMouseButtons, NULL, 0);
PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
break;