wxCoord DeviceToLogicalX(wxCoord x)
Convert device X coordinate to logical coordinate, using the current mapping mode.