wxCoord *x,
wxCoord *y,
wxCoord *h,
- wxFont *font) const
+ const wxFont *font) const
{
wxCoord widthTextMax = 0, widthLine,
heightTextTotal = 0, heightLineDefault = 0, heightLine = 0;
}
else // not end of line
{
- if ( pc - text.begin() == (size_t)indexAccel )
+ if ( pc - text.begin() == indexAccel )
{
// remeber to draw underscore here
GetTextExtent(curLine, &startUnderscore, NULL);