void GetVirtualSize(int *x, int *y)
Gets the size in device units of the scrollable canvas area (as opposed to the client size, which is the area of the canvas currently visible).
Use wxDC::DeviceToLogicalX and wxDC::DeviceToLogicalY to translate these units to logical units.