Mention behaviour change of wxDC::GetContentScaleFactor()

Complete changes of 5e7b08f9ea (Correct wxDC::GetContentScaleFactor()
documentation, 2023-04-13) to add the information about the version in
which the behaviour of this function changed, as it was already done in
the version of this commit cherry picked to 3.2 branch, i.e. 8094ed5795
(Correct wxDC::GetContentScaleFactor() documentation, 2023-04-13).

Closes #23748.
This commit is contained in:
Vadim Zeitlin 2023-08-02 04:05:05 +02:00
parent a42d9181d6
commit a4dec24c6d

View file

@ -1515,7 +1515,7 @@ public:
device contexts associated with a window and the same value as
wxBitmap::GetScaleFactor() for the associated bitmap for wxMemoryDC.
@note Beware, this function does _not_ return the same value as
@note Beware that since wxWidgets 3.1.6, this function does _not_ return the same value as
wxWindow::GetContentScaleFactor() for the device contexts associated
with the window. Unlike wxWindow method, it always returns the
effective scale factor instead of always returning 1 on platforms where