#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>
if(slider==NULL)
return false;
- SetInitialBestSize(size);
+ SetInitialSize(size);
Show();
return true;
}