]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
Removed duplicate xh_grid.cpp/h and rebaked files
[wxWidgets.git] / include / wx / sizer.h
index 410b2c1e3726d5716f08b19b535c760ad4ea8183..c4762c828e0753673a3397741608aaa213b1a614 100644 (file)
@@ -81,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
     }