X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a986642f587a0ef9c77b7644cc1df7573bce75d..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index a5cc6c4fa5..52c7a4c466 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -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;