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:
parent
96d8f9207f
commit
92b0cd9eb0
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user