- Update to r53061
[reactos.git] / dll / cpl / access / mouse.c
index fb4e209..0fe19e5 100644 (file)
@@ -8,12 +8,6 @@
  *                  Copyright 2007 Eric Kohl
  */
 
-#include <windows.h>
-#include <stdlib.h>
-#include <commctrl.h>
-#include <prsht.h>
-#include <tchar.h>
-#include "resource.h"
 #include "access.h"
 
 
@@ -88,7 +82,7 @@ MouseKeysDlgProc(HWND hwndDlg,
             break;
 
         case WM_HSCROLL:
-            switch (GetWindowLong((HWND) lParam, GWL_ID))
+            switch (GetWindowLongPtr((HWND) lParam, GWL_ID))
             {
                 case IDC_MOUSEKEYS_SPEED_TRACK:
                     i = SendDlgItemMessage(hwndDlg, IDC_MOUSEKEYS_SPEED_TRACK, TBM_GETPOS, 0, 0);