From 3116b656c70a3bc623704c28cf6e3b9c1e075bad Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Thu, 13 Dec 2018 12:00:52 +0100 Subject: wx: Add wxDisplay Have been around since 2.6 but undocumented, add it since it is useful in multi-display setup. --- lib/wx/api_gen/wxapi.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/wx/api_gen/wxapi.conf') 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)"}]} + ]}. -- cgit v1.2.3