X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a986642f587a0ef9c77b7644cc1df7573bce75d..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/window.h diff --git a/interface/wx/window.h b/interface/wx/window.h index dd36e63c25..361f34cd69 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -2,7 +2,6 @@ // Name: window.h // Purpose: interface of wxWindow // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -53,6 +52,16 @@ enum wxShowEffect }; +/** + flags for SendSizeEvent() +*/ +enum +{ + wxSEND_EVENT_POST = 1 +}; + + + /** Struct containing all the visual attributes of a control. @@ -1103,6 +1112,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.