Set correct toolbar width in wxMSW wxFrame.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Dec 2009 02:59:16 +0000 (02:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 10 Dec 2009 02:59:16 +0000 (02:59 +0000)
commit563f85a9566128124df05eed60634a268dadf4c8
treea5d3ede37fc5974019796c489512ee35a645820a
parenta7daf7ea0e0805d67cd8d87be2fc5e84c48695ca
Set correct toolbar width in wxMSW wxFrame.

The hack introduced in r22410 artificially set wrong size for toolbar under
MSW. This completely breaks any calculations that can be done using it (e.g.
to find the space available for the stretchable part of the toolbar) and is
completely and utterly unexpected.

Revert it, toolbar flicker must be dealt in another way if it is still a
problem.

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