X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/851dee09b5ab50a69519a39b0f3f6b95b1a63373..628f87da565360ec2fce102c9b46341cf42cd3d3:/src/palmos/slider.cpp diff --git a/src/palmos/slider.cpp b/src/palmos/slider.cpp index be30bb7a7c..72bb092ca1 100644 --- a/src/palmos/slider.cpp +++ b/src/palmos/slider.cpp @@ -18,13 +18,13 @@ #if wxUSE_SLIDER -#ifndef WX_PRECOMP -#include "wx/utils.h" -#include "wx/brush.h" #include "wx/slider.h" -#endif -#include "wx/toplevel.h" +#ifndef WX_PRECOMP + #include "wx/utils.h" + #include "wx/brush.h" + #include "wx/toplevel.h" +#endif #include #include @@ -155,7 +155,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id, if(slider==NULL) return false; - SetInitialBestSize(size); + SetInitialSize(size); Show(); return true; }