]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
Resets scroll position on load
[wxWidgets.git] / include / wx / sizer.h
index 28965fe97ed880a1cc5d910cd4ce5b35833f5e4f..c4762c828e0753673a3397741608aaa213b1a614 100644 (file)
@@ -18,7 +18,6 @@
 #include "wx/window.h"
 #include "wx/frame.h"
 #include "wx/dialog.h"
-#include "wx/bookctrl.h"
 
 //---------------------------------------------------------------------------
 // classes
@@ -82,7 +81,14 @@ public:
     wxSizerFlags& Border(int direction = wxALL)
     {
         // FIXME: default border size shouldn't be hardcoded
+#ifdef __SMARTPHONE__
+        // no borders by default on limited size screen
+        wxUnusedVar(direction);
+
+        return *this;
+#else
         return Border(direction, 5);
+#endif
     }