aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wxapi.conf
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2018-12-13 12:00:52 +0100
committerDan Gudmundsson <[email protected]>2018-12-13 12:00:52 +0100
commit3116b656c70a3bc623704c28cf6e3b9c1e075bad (patch)
tree127b3d6c35b5be3a0e6de4387809f7363a96a9a1 /lib/wx/api_gen/wxapi.conf
parent3fedd4fa16e9d4cd27085e0dcf4154a301713566 (diff)
downloadotp-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/wxapi.conf')
-rw-r--r--lib/wx/api_gen/wxapi.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf
index 91dfd7df7a..6e139e1412 100644
--- a/lib/wx/api_gen/wxapi.conf
+++ b/lib/wx/api_gen/wxapi.conf
@@ -2030,3 +2030,13 @@
['GetPosition', 'GetNumberOfFiles',
{'GetFiles', [{return, [{single, {list, 'm_noFiles'}}]}]}
]}.
+
+
+{class, wxDisplay, root, [{ifdef, wxUSE_DISPLAY}],
+ ['wxDisplay', '~wxDisplay',
+ 'IsOk',
+ {'GetClientArea', [{test_if, "wxCHECK_VERSION(2,8,12)"}]},
+ 'GetGeometry', 'GetName', 'IsPrimary',
+ 'GetCount', 'GetFromPoint', 'GetFromWindow',
+ {'GetPPI', [{test_if, "wxCHECK_VERSION(3,1,2)"}]}
+ ]}.