Update status bar fields widths from WM_SIZE handler.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Jun 2011 22:49:51 +0000 (22:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Jun 2011 22:49:51 +0000 (22:49 +0000)
commit208f99c3e398e7ddf95016fff5e67883714fff54
tree9981e606e86c23f105f9f57b3ae728a661f011b1
parent007d2de3c4635db3b321a07c13ddaa9f74728e2e
Update status bar fields widths from WM_SIZE handler.

Doing it immediately after calling ::SetWindowPos(), as we used to do, didn't
work correctly (presumably because the status bar fields widths were not
updated yet internally) and resulted in not updating the ellipsized fields
values when "Show window contents while dragging" Windows option was off.
Doing it when we get WM_SIZE works in this case too.

Closes #13257.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/statusbar.cpp