Use wxDC::GetDPIScaleFactor to scale the coordinates. Initialize wxGCDC with a wxWindow, so it can infer the scale from the window.
Use wxDC::GetDPIScaleFactor to scale the coordinates. Initialize wxGCDC with a wxWindow, so it can infer the scale from the window.