aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wxapi.conf
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-02-25 09:22:31 +0100
committerDan Gudmundsson <[email protected]>2016-02-29 09:21:50 +0100
commit375a6d9b157aab42c0a4e866ff5933494a2ea081 (patch)
tree645eda588991eda2c8b5893f79039c7f0297efd6 /lib/wx/api_gen/wxapi.conf
parent349673e2ffaa0916890fa3e24205197e79e371cd (diff)
downloadotp-375a6d9b157aab42c0a4e866ff5933494a2ea081.tar.gz
otp-375a6d9b157aab42c0a4e866ff5933494a2ea081.tar.bz2
otp-375a6d9b157aab42c0a4e866ff5933494a2ea081.zip
wx: Add wxWindow SetDoubleBuffered and IsDoubleBuffered from wxWidgets 3.0
This is really needed on windows to get rid of flickering when updating some widgets. These functions are only available if 3.0 and not on mac where everything is double buffered already.
Diffstat (limited to 'lib/wx/api_gen/wxapi.conf')
-rw-r--r--lib/wx/api_gen/wxapi.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/wx/api_gen/wxapi.conf b/lib/wx/api_gen/wxapi.conf
index f5a6751696..4b34b9ead8 100644
--- a/lib/wx/api_gen/wxapi.conf
+++ b/lib/wx/api_gen/wxapi.conf
@@ -150,7 +150,10 @@
'ShouldInheritColours','Show','Thaw','TransferDataFromWindow',
'TransferDataToWindow',%'UnregisterHotKey',
'Update','UpdateWindowUI','Validate',
- 'WarpPointer']}.
+ 'WarpPointer',
+ {'IsDoubleBuffered', [{test_if, "wxCHECK_VERSION(3,0,0)"}]},
+ {'SetDoubleBuffered', [{test_if, "wxCHECK_VERSION(3,0,0) && !defined(__WXMAC__)"}]}
+]}.
{class, wxTopLevelWindowGTK, wxWindow,
[{alias, [{wxTopLevelWindowGTK, wxTopLevelWindow}]}],