git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23182
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxRect r;
m_list->GetItemRect(i, r);
- wxCoord w = r.x + r.width,
- h = r.y + r.height;
+ wxCoord w = r.width,
+ h = r.height;
if ( w > widthMax )
widthMax = w;
}
else // left/right aligned
{
- // +10 is due to an apparent bug in wxListCtrl::GetItemRect() but I
+ // +20 is due to an apparent bug in wxListCtrl::GetItemRect() but I
// can't fix it there right now so just add a fudge here...
- size.x = widthMax + 10;
+ size.x = widthMax + 20;
size.y = sizeClient.y;
if ( heightMax >= sizeClient.y )