16-bit fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -314,8 +314,13 @@ void wxListLineData::CalculateSize( wxDC *dc, int spacing )
|
||||
m_bound_all.height = lh;
|
||||
if (item->HasImage())
|
||||
{
|
||||
#ifdef __WIN16__
|
||||
int w = 0;
|
||||
int h = 0;
|
||||
#else
|
||||
wxCoord w = 0;
|
||||
wxCoord h = 0;
|
||||
#endif
|
||||
m_owner->GetImageSize( item->GetImage(), w, h );
|
||||
m_bound_all.width += 4 + w;
|
||||
if (h > m_bound_all.height) m_bound_all.height = h;
|
||||
|
Reference in New Issue
Block a user