- // may be NULL, ok
- delete m_imageList;
-
- m_ownsImageList = FALSE;
- }
-
- m_imageList = imageList;
-}
-
-void wxNotebookBase::AssignImageList(wxImageList* imageList)
-{
- SetImageList(imageList);
- m_ownsImageList = TRUE;
-}
-
-// ----------------------------------------------------------------------------
-// geometry
-// ----------------------------------------------------------------------------
-
-wxSize wxNotebookBase::CalcSizeFromPage(const wxSize& sizePage)
-{
- // this was just taken from wxNotebookSizer::CalcMin() and is, of
- // course, totally bogus - just like the original code was
- wxSize sizeTotal = sizePage;
- if ( HasFlag(wxNB_LEFT) || HasFlag(wxNB_RIGHT) )
- sizeTotal.x += 90;
- else