Update status bar labels properly after width change in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Oct 2011 17:14:09 +0000 (17:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Oct 2011 17:14:09 +0000 (17:14 +0000)
commit796be9238d0ff9a37c97198999f9af8fd0f8d681
treef6078fd0dfb89abaffd6e34e484451ed2f03981d
parent4dd8339b2a1a269284096e6bbaa9b6646774650e
Update status bar labels properly after width change in wxMSW.

The labels were not updated (i.e. ellipsized or, on the contrary, displayed in
full) correctly after a status bar field was changed; there was even a FIXME
comment about this in the code.

Fix this by calling DoUpdateStatusText() when the field width is changed and
also update the field width after resetting the existing tooltips.

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