]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/slider.cpp
Applied patch from Bo, WIP
[wxWidgets.git] / src / palmos / slider.cpp
index 7598d4f846482f8c4f298f2c124d0b2b1ce74abf..72bb092ca1e32d31c6670ed60a1d277c3dd81d5c 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/brush.h"
+    #include "wx/toplevel.h"
 #endif
 
-#include "wx/toplevel.h"
-
 #include <Form.h>
 #include <Control.h>
 
@@ -156,7 +155,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
     if(slider==NULL)
         return false;
 
-    SetInitialBestSize(size);
+    SetInitialSize(size);
     Show();
     return true;
 }