Use the same scaling function as elsewhere instead of using ceil/floor(). Provide wxRescaleCoordWithFrom specialization for int to allow using it with just single coordinates too.