X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42782237f24807ddb0bae1c84997e29573f5c2df..28354d90fce9a6b1f8ccdf713602992fb5c7ccbb:/src/os2/slider.cpp 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) {