Better margin on Smartphone.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-03-13 15:35:33 +00:00
parent 01d2bf4def
commit 5a053c22d8

View File

@@ -335,6 +335,12 @@ int MyFrame::SelectFlag(int id, int nb, int lb, int chb)
return 0;
}
#ifdef __SMARTPHONE__
#define MARGIN 0
#else
#define MARGIN 4
#endif
#define RECREATE( wxBookType , idBook, oldBook , newBook ) \
{ \
int flags; \
@@ -403,7 +409,7 @@ int MyFrame::SelectFlag(int id, int nb, int lb, int chb)
CreateInitialPages(newBook); \
} \
\
m_sizerFrame->Insert(0, newBook, 5, wxEXPAND | wxALL, 4); \
m_sizerFrame->Insert(0, newBook, 5, wxEXPAND | wxALL, MARGIN); \
\
m_sizerFrame->Hide(newBook); \
}