From 3a339c0dfd765bb5ae570d5b6ffaab6b6c142d50 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Wed, 4 Jan 2006 22:49:55 +0000 Subject: [PATCH] Cache slider size in DoSetSize. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/slider.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os2/slider.cpp b/src/os2/slider.cpp index 57f0e770c2..eba1df64c6 100644 --- a/src/os2/slider.cpp +++ b/src/os2/slider.cpp @@ -495,6 +495,7 @@ void wxSlider::DoSetSize( if (nOS2Height < 0) nOS2Height = 20; + CacheBestSize(wxSize(nWidth,nOS2Height)); if (pParent) { -- 2.45.2