- wxRect rect(0,0,width,10);
-
- // M is a nice large character 'y' gives descender!.
- dc.GetTextExtent(wxT("My"), &x, &y);
-
- do
- {
- width+=10;
- rect.SetWidth(width);
- height = y * (wx_truncate_cast(wxCoord, GetTextLines(grid,dc,attr,rect,row,col).GetCount()));
- count--;