X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fbfb8bcc3fa17e079d4219655b173f8ed2ccc65a..da9e956384a0619a0ecaa0bd1e4ba26b133b60a9:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 28965fe97e..c4762c828e 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -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 }