]> git.saurik.com Git - wxWidgets.git/commitdiff
Putting the SetBestFittingSize() call at the end of wxToolBar::Realize
authorRobin Dunn <robin@alldunn.com>
Tue, 31 Jan 2006 01:55:59 +0000 (01:55 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 31 Jan 2006 01:55:59 +0000 (01:55 +0000)
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

src/msw/tbar95.cpp

index 04141cf01ffca61fc1f7ccba5fe1d1b363c8c14b..7bc8e9589db81b0d1288e7613d906a8fcf462d69 100644 (file)
@@ -1049,7 +1049,6 @@ bool wxToolBar::Realize()
     }
 
     InvalidateBestSize();
-    SetBestFittingSize();
     UpdateSize();
 
     return true;