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
This commit is contained in:
Vadim Zeitlin 2005-10-09 14:32:53 +00:00
parent 96d8f9207f
commit 92b0cd9eb0

View 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
}