}
wxSize sizeTotal = scrollbar->GetClientSize();
- wxCoord *start, *width, length, arrow;
+ wxCoord *start, *width;
+ wxCoord length, arrow;
wxRect rect;
if ( scrollbar->IsVertical() )
{
int steps = ((lenTotal + step - 1) * pos) / (max * step);
// calc the coords of one small rect
- wxCoord *px, dx, dy;
+ wxCoord *px;
+ wxCoord dx, dy;
if ( gauge->IsVertical() )
{
// draw from bottom to top: so first set y to the bottom