]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/slider.cpp
Applied patch [ 1776951 ] wxSizer::GetContainingWindow fails for nested sizers
[wxWidgets.git] / src / palmos / slider.cpp
index fc4ab1a954b560da786fb4a9a53024ed1546e77a..72bb092ca1e32d31c6670ed60a1d277c3dd81d5c 100644 (file)
@@ -155,7 +155,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
     if(slider==NULL)
         return false;
 
-    SetInitialBestSize(size);
+    SetInitialSize(size);
     Show();
     return true;
 }