Set/get for internal border in book based controls.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-10-18 12:31:11 +00:00
parent afe1376994
commit 159e6235b2
5 changed files with 46 additions and 47 deletions

View File

@@ -42,6 +42,12 @@ void wxBookCtrlBase::Init()
{
m_imageList = NULL;
m_ownsImageList = false;
#if defined(__WXWINCE__)
m_internalBorder = 1;
#else
m_internalBorder = 5;
#endif
}
bool
@@ -196,11 +202,10 @@ int wxBookCtrlBase::GetNextPage(bool forward) const
}
else // notebook is empty, no next page
{
nPage = -1;
nPage = wxNOT_FOUND;
}
return nPage;
}
#endif // wxUSE_BOOKCTRL