diff options
author | Dan Gudmundsson <[email protected]> | 2016-10-07 12:35:38 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-10-07 12:35:38 +0200 |
commit | 301675fb9ab76c5003743d1eb0ecd8a265c697f9 (patch) | |
tree | 579b28659ad670a2e9711d5ca4110b74de55195d /lib/wx/api_gen | |
parent | 668e0ae7e0e06edc03eb188f1cb6b223ec8c8d47 (diff) | |
download | otp-301675fb9ab76c5003743d1eb0ecd8a265c697f9.tar.gz otp-301675fb9ab76c5003743d1eb0ecd8a265c697f9.tar.bz2 otp-301675fb9ab76c5003743d1eb0ecd8a265c697f9.zip |
wx: Add wxWindow:getContentScaleFactor
Diffstat (limited to 'lib/wx/api_gen')
-rw-r--r-- | lib/wx/api_gen/wx_extra/added_func.h | 11 | ||||
-rw-r--r-- | lib/wx/api_gen/wxapi.conf | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lib/wx/api_gen/wx_extra/added_func.h b/lib/wx/api_gen/wx_extra/added_func.h index 417188cc8a..bffe391140 100644 --- a/lib/wx/api_gen/wx_extra/added_func.h +++ b/lib/wx/api_gen/wx_extra/added_func.h @@ -34,8 +34,13 @@ class wxToolBar { }; -class wxWindow { +/* class wxWindow { */ +/* public: */ +/* bool IsDoubleBuffered(); */ +/* void SetDoubleBuffered(bool on); */ +/* }; */ + +class wxWindowGTK { public: - bool IsDoubleBuffered(); - void SetDoubleBuffered(bool on); + double GetContentScaleFactor(); }; diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf index 4300ffe734..a0dfa61dd1 100644 --- a/lib/wx/api_gen/wxapi.conf +++ b/lib/wx/api_gen/wxapi.conf @@ -155,7 +155,8 @@ {'SetTransparent', [{test_if, "wxCHECK_VERSION(2,8,12)"}]}, {'CanSetTransparent', [{test_if, "wxCHECK_VERSION(2,8,12)"}]}, {'IsDoubleBuffered', [{test_if, "wxCHECK_VERSION(3,0,0)"}]}, - {'SetDoubleBuffered', [{test_if, "wxCHECK_VERSION(3,0,0) && !defined(__WXMAC__)"}]} + {'SetDoubleBuffered', [{test_if, "wxCHECK_VERSION(3,0,0) && !defined(__WXMAC__)"}]}, + {'GetContentScaleFactor', [{test_if, "wxCHECK_VERSION(2,9,5)"}]} ]}. {class, wxTopLevelWindowGTK, wxWindow, |