From 2399c54da3f9502c61c47abf5b33220188810da7 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Thu, 1 Nov 2001 08:05:41 +0000 Subject: [PATCH] 2001-11-01 Robert Collins * choose.cc(list_vscroll): Return 0 as required by win32. (list_hscroll): Ditto. (list_click): Ditto. --- ChangeLog | 6 ++++++ choose.cc | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 72e304b1..d45bb85f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-11-01 Robert Collins + + * choose.cc(list_vscroll): Return 0 as required by win32. + (list_hscroll): Ditto. + (list_click): Ditto. + 2001-11-01 Robert Collins * argv.cc: Remove. diff --git a/choose.cc b/choose.cc index 3fb8538b..a2eef9d8 100644 --- a/choose.cc +++ b/choose.cc @@ -390,12 +390,14 @@ static LRESULT CALLBACK list_vscroll (HWND hwnd, HWND hctl, UINT code, int pos) { scroll_common (hwnd, SB_VERT, &scroll_ulc_y, code); + return 0; } static LRESULT CALLBACK list_hscroll (HWND hwnd, HWND hctl, UINT code, int pos) { scroll_common (hwnd, SB_HORZ, &scroll_ulc_x, code); + return 0; } static LRESULT CALLBACK @@ -445,6 +447,7 @@ list_click (HWND hwnd, BOOL dblclk, int x, int y, UINT hitCode) rect.bottom = rect.top + row_height; InvalidateRect (hwnd, &rect, TRUE); } + return 0; } static LRESULT CALLBACK -- 2.43.5