wxDC::MaxX

float MaxX(void)

Gets the maximum horizontal extent used in drawing commands so far.