]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/slider.cpp
Removed a misleading comment
[wxWidgets.git] / src / palmos / slider.cpp
index be30bb7a7c6ae299e47ee74e10f1de9bb5541c4a..72bb092ca1e32d31c6670ed60a1d277c3dd81d5c 100644 (file)
 
 #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 <Form.h>
 #include <Control.h>
@@ -155,7 +155,7 @@ bool wxSlider::Create(wxWindow *parent, wxWindowID id,
     if(slider==NULL)
         return false;
 
-    SetInitialBestSize(size);
+    SetInitialSize(size);
     Show();
     return true;
 }