Removed error check in ScrollWindowEx() call for now pending a wine bug (https://bugs.winehq.org/show_bug.cgi?id=37706).
This commit is contained in:
parent
3788cb730c
commit
9edf273ba7
|
@ -22,7 +22,8 @@ static void hscrollto(struct table *t, intptr_t pos)
|
|||
if (ScrollWindowEx(t->hwnd, -(pos - t->hscrollpos), 0,
|
||||
&scrollArea, &scrollArea, NULL, NULL,
|
||||
SW_ERASE | SW_INVALIDATE) == ERROR)
|
||||
panic("error horizontally scrolling Table");
|
||||
;// TODO failure case ignored for now; see https://bugs.winehq.org/show_bug.cgi?id=37706
|
||||
// panic("error horizontally scrolling Table");
|
||||
// TODO call UpdateWindow()?
|
||||
|
||||
t->hscrollpos = pos;
|
||||
|
|
Loading…
Reference in New Issue