]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/slider.cpp
made SetFirstItem() work again (patch 1445170)
[wxWidgets.git] / src / os2 / slider.cpp
index 57f0e770c24a081ab4181a40bfc9b3740426d9c1..eba1df64c6d9d5b7b9ca2b331e48c5b77c104642 100644 (file)
@@ -495,6 +495,7 @@ void wxSlider::DoSetSize(
 
     if (nOS2Height < 0)
         nOS2Height = 20;
+    CacheBestSize(wxSize(nWidth,nOS2Height));
 
     if (pParent)
     {