From: Robert Collins Date: Thu, 1 Nov 2001 08:05:41 +0000 (+0000) Subject: 2001-11-01 Robert Collins X-Git-Tag: Z-categories_merge_HEAD~11 X-Git-Url: https://cygwin.com/git/?a=commitdiff_plain;h=2399c54da3f9502c61c47abf5b33220188810da7;p=cygwin-apps%2Fsetup.git 2001-11-01 Robert Collins * choose.cc(list_vscroll): Return 0 as required by win32. (list_hscroll): Ditto. (list_click): Ditto. --- 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