diff options
author | Dan Gudmundsson <[email protected]> | 2018-12-13 12:00:52 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2018-12-13 12:00:52 +0100 |
commit | 3116b656c70a3bc623704c28cf6e3b9c1e075bad (patch) | |
tree | 127b3d6c35b5be3a0e6de4387809f7363a96a9a1 /lib/wx/api_gen/wx_extra | |
parent | 3fedd4fa16e9d4cd27085e0dcf4154a301713566 (diff) | |
download | otp-3116b656c70a3bc623704c28cf6e3b9c1e075bad.tar.gz otp-3116b656c70a3bc623704c28cf6e3b9c1e075bad.tar.bz2 otp-3116b656c70a3bc623704c28cf6e3b9c1e075bad.zip |
wx: Add wxDisplay
Have been around since 2.6 but undocumented, add it since it is
useful in multi-display setup.
Diffstat (limited to 'lib/wx/api_gen/wx_extra')
-rw-r--r-- | lib/wx/api_gen/wx_extra/added_func.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/wx/api_gen/wx_extra/added_func.h b/lib/wx/api_gen/wx_extra/added_func.h index bffe391140..28fecbf454 100644 --- a/lib/wx/api_gen/wx_extra/added_func.h +++ b/lib/wx/api_gen/wx_extra/added_func.h @@ -44,3 +44,9 @@ class wxWindowGTK { public: double GetContentScaleFactor(); }; + +class wxDisplay { + public: + // get the resolution of this monitor in pixels per inch + wxSize GetPPI() const; +}; |