]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/slider.cpp
gdk_window_copy_area(drawable,gc,x,y,source_drawable,source_x,source_y,width,height) ->
[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)
     {