m_imageList->Draw(image, dc, 0, 0, wxIMAGELIST_DRAW_NORMAL, true);
dc.SelectObject(wxNullBitmap);
#else
- bmp = *m_imageList->GetBitmap(image);
+ bmp = m_imageList->GetBitmap(image);
#endif
}
wxSize wxNotebook::DoGetBestClientSize() const
{
// calculate the max page size
- wxSize size(0, 0);
+ wxSize size;
size_t count = GetPageCount();
if ( count )