From 96691fcaedcc655633c5fce4d7dafd8efbcd5e05 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 20 Jun 2013 01:01:51 +0000 Subject: [PATCH] Document wxWindow::GetMagnificationFactor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/window.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- 2.45.2