comctl32/listbox: Update the size in SetColumnWidth before calling UpdatePage.
commitbb116577a3d28e9063102fb6484e6947913002ad
authorGabriel Ivăncescu <gabrielopcode@gmail.com>
Wed, 5 Sep 2018 15:51:50 +0000 (5 18:51 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 7 Sep 2018 11:23:48 +0000 (7 13:23 +0200)
tree2a91b150385dff742245e170a3968b1ddf00e507
parentce11b1bf62a80d55a5a487a4f2e399c2f6d36d8c
comctl32/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/comctl32/listbox.c