From: Robin Dunn <robin@alldunn.com> Date: Thu, 20 Jun 2013 01:01:51 +0000 (+0000) Subject: Document wxWindow::GetMagnificationFactor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/96691fcaedcc655633c5fce4d7dafd8efbcd5e05 Document wxWindow::GetMagnificationFactor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/window.h b/interface/wx/window.h index dd36e63c25..acf13d5918 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -1103,6 +1103,14 @@ public: */ virtual wxSize GetBestVirtualSize() const; + /** + Returns the magnification of the backing store of this window, eg 2.0 + for a window on a retina screen. + + @since 2.9.5 + */ + virtual double GetMagnificationFactor() const; + /** Returns the size of the left/right and top/bottom borders of this window in x and y components of the result respectively.