Replace another hardcoded constant with a symbolic one
Use the already existing IMAGE_MARGIN_IN_REPORT_MODE instead of "5".
This commit is contained in:
@@ -4466,7 +4466,7 @@ int wxListMainWindow::GetItemWidthWithImage(wxListItem * item)
|
|||||||
{
|
{
|
||||||
int ix, iy;
|
int ix, iy;
|
||||||
GetImageSize( item->GetImage(), ix, iy );
|
GetImageSize( item->GetImage(), ix, iy );
|
||||||
width += ix + 5;
|
width += ix + IMAGE_MARGIN_IN_REPORT_MODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!item->GetText().empty())
|
if (!item->GetText().empty())
|
||||||
|
Reference in New Issue
Block a user