user32/listbox: Update the size in SetColumnWidth before calling UpdatePage.
commit84ac7e1571dc1e11211edccddafe9d1e290ea27e
authorGabriel Ivăncescu <gabrielopcode@gmail.com>
Wed, 5 Sep 2018 15:51:51 +0000 (5 18:51 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 7 Sep 2018 11:23:51 +0000 (7 13:23 +0200)
tree5eb1eaf318efdace151fa910f892f5f7f9c50c03
parentbb116577a3d28e9063102fb6484e6947913002ad
user32/listbox: Update the size in SetColumnWidth before calling UpdatePage.

Some applications don't forward WM_SIZE from DefWindowProc to the control,
but instead only send a LB_SETCOLUMNWIDTH message, even when the column
width doesn't change (but the listbox size does).

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=22440
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/user32/listbox.c