From: Robin Dunn Date: Tue, 31 Jan 2006 01:55:59 +0000 (+0000) Subject: Putting the SetBestFittingSize() call at the end of wxToolBar::Realize X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e731cb64e66a11ab34b2c7a00a583c77055c7433 Putting the SetBestFittingSize() call at the end of wxToolBar::Realize seems to cause more problems than it fixes, and in fact I can't seem to duplicate the problems that it had before any longer, so let's remove it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/tbar95.cpp b/src/msw/tbar95.cpp index 04141cf01f..7bc8e9589d 100644 --- a/src/msw/tbar95.cpp +++ b/src/msw/tbar95.cpp @@ -1049,7 +1049,6 @@ bool wxToolBar::Realize() } InvalidateBestSize(); - SetBestFittingSize(); UpdateSize(); return true;