]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
Fix missing documentation for several GDI functions.
[wxWidgets.git] / include / wx / window.h
index a5cc6c4fa579de17e8e6f21375df8a1d346fa90a..52c7a4c466bacd097afd74c1044deffc79efad59 100644 (file)
@@ -521,6 +521,11 @@ public:
         return wxSize( wxMax( client.x, best.x ), wxMax( client.y, best.y ) );
     }
 
+    // returns the magnification of the content of this window
+    // eg 2.0 for a window on a retina screen
+    virtual double GetContentScaleFactor() const
+    { return 1.0; }
+    
     // return the size of the left/right and top/bottom borders in x and y
     // components of the result respectively
     virtual wxSize GetWindowBorderSize() const;