From: Vadim Zeitlin Date: Sun, 9 Oct 2005 14:32:53 +0000 (+0000) Subject: don't put borders by default between sizer elements on smartphones X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/92b0cd9eb05f73717f6c35dacdfadf703f59b045 don't put borders by default between sizer elements on smartphones git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 410b2c1e37..c4762c828e 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -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 }