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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user