git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45814
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
lineHeight = 0;
dc.GetTextExtent(line, &lineWidth, &lineHeight);
lineHeight = 0;
dc.GetTextExtent(line, &lineWidth, &lineHeight);
const wxArrayString& lines,
long *width, long *height ) const
{
const wxArrayString& lines,
long *width, long *height ) const
{
- long w = 0;
- long h = 0;
- long lineW = 0, lineH = 0;
+ wxCoord w = 0;
+ wxCoord h = 0;
+ wxCoord lineW = 0, lineH = 0;
size_t i;
for ( i = 0; i < lines.GetCount(); i++ )
size_t i;
for ( i = 0; i < lines.GetCount(); i++ )