Fixes for OS/2 wxUniv merge.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-07-06 21:47:52 +00:00
parent 537760597b
commit 0367c1c0e8
11 changed files with 851 additions and 1523 deletions

View File

@@ -248,6 +248,25 @@ void wxNotebook::SetTabSize(const wxSize& sz)
// wxNotebook operations
// ----------------------------------------------------------------------------
void wxNotebook::SetPageSize(const wxSize& size)
{
// transform the page size into the notebook size
RECT rc;
rc.xLeft = rc.yTop = 0;
rc.xRight = size.x;
rc.yBottom = size.y;
// TabCtrl_AdjustRect(GetHwnd(), TRUE, &rc);
// and now set it
SetSize(rc.xRight - rc.xLeft, rc.yBottom - rc.yTop);
}
void wxNotebook::SetPadding(const wxSize& padding)
{
// TabCtrl_SetPadding(GetHwnd(), padding.x, padding.y);
}
// remove one page from the notebook
bool wxNotebook::DeletePage(int nPage)
{