]> git.saurik.com Git - wxWidgets.git/commitdiff
Document wxWindow::GetMagnificationFactor
authorRobin Dunn <robin@alldunn.com>
Thu, 20 Jun 2013 01:01:51 +0000 (01:01 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 20 Jun 2013 01:01:51 +0000 (01:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/window.h

index dd36e63c255c1264f07117f4c593b23194a7d775..acf13d59180e1ac0afe8fb08d289877ec0fc3a39 100644 (file)
@@ -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.