Cache slider size in DoSetSize.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2006-01-04 22:49:55 +00:00
parent 37ac8a5f21
commit 3a339c0dfd

View File

@@ -495,6 +495,7 @@ void wxSlider::DoSetSize(
if (nOS2Height < 0)
nOS2Height = 20;
CacheBestSize(wxSize(nWidth,nOS2Height));
if (pParent)
{