X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a986642f587a0ef9c77b7644cc1df7573bce75d..1b7751aaa9a86d76a850b9267bc0c201e3cea30f:/interface/wx/window.h diff --git a/interface/wx/window.h b/interface/wx/window.h index dd36e63c25..d075e1178c 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -53,6 +53,16 @@ enum wxShowEffect }; +/** + flags for SendSizeEvent() +*/ +enum +{ + wxSEND_EVENT_POST = 1 +}; + + + /** Struct containing all the visual attributes of a control. @@ -1103,6 +1113,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 GetContentScaleFactor() const; + /** Returns the size of the left/right and top/bottom borders of this window in x and y components of the result respectively.