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.