From d3cb252c96258fca63f3b78c67905f8dd71a0a93 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 28 Mar 2016 21:41:10 +0200 Subject: [PATCH] Document that wxScreenDC corresponds to the entire virtual screen And not just the primary monitor. See #13279. --- interface/wx/dcscreen.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/wx/dcscreen.h b/interface/wx/dcscreen.h index 7e32789259..a71cf2fd85 100644 --- a/interface/wx/dcscreen.h +++ b/interface/wx/dcscreen.h @@ -11,6 +11,10 @@ A wxScreenDC can be used to paint on the screen. This should normally be constructed as a temporary stack object; don't store a wxScreenDC object. + When using multiple monitors, wxScreenDC corresponds to the entire virtual + screen composed of all of them. Notice that coordinates on wxScreenDC can + be negative in this case, see wxDisplay::GetGeometry() for more. + @library{wxcore} @category{dc}