summaryrefslogtreecommitdiff
path: root/wintable/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'wintable/main.c')
-rw-r--r--wintable/main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/wintable/main.c b/wintable/main.c
index 7d70446..aa92520 100644
--- a/wintable/main.c
+++ b/wintable/main.c
@@ -104,6 +104,7 @@ struct table {
typedef BOOL (*handlerfunc)(struct table *, UINT, WPARAM, LPARAM, LRESULT *);
const handlerfunc handlerfuncs[] = {
+ vscrollHandler,
APIHandler,
NULL,
};
@@ -175,12 +176,6 @@ if (ImageList_GetIconSize(t->imagelist, &unused, &(t->imagelistHeight)) == 0)abo
drawItems(t, dc, ps.rcPaint);
EndPaint(hwnd, &ps);
return 0;
- case WM_VSCROLL:
- vscroll(t, wParam);
- return 0;
- case WM_MOUSEWHEEL:
- wheelscroll(t, wParam);
- return 0;
case WM_HSCROLL:
hscroll(t, wParam);
return 0;