aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_extra
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/wx_extra
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/wx_extra')
-rw-r--r--lib/wx/api_gen/wx_extra/added_func.h7
1 files changed, 7 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 0698621c5f..417188cc8a 100644
--- a/lib/wx/api_gen/wx_extra/added_func.h
+++ b/lib/wx/api_gen/wx_extra/added_func.h
@@ -32,3 +32,10 @@ class wxToolBar {
wxToolBarToolBase * AddStretchableSpace();
wxToolBarToolBase * InsertStretchableSpace(size_t pos);
};
+
+
+class wxWindow {
+ public:
+ bool IsDoubleBuffered();
+ void SetDoubleBuffered(bool on);
+};