aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/gen/wxe_funcs.cpp
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-10-07 12:35:38 +0200
committerDan Gudmundsson <[email protected]>2016-10-07 12:35:38 +0200
commit301675fb9ab76c5003743d1eb0ecd8a265c697f9 (patch)
tree579b28659ad670a2e9711d5ca4110b74de55195d /lib/wx/c_src/gen/wxe_funcs.cpp
parent668e0ae7e0e06edc03eb188f1cb6b223ec8c8d47 (diff)
downloadotp-301675fb9ab76c5003743d1eb0ecd8a265c697f9.tar.gz
otp-301675fb9ab76c5003743d1eb0ecd8a265c697f9.tar.bz2
otp-301675fb9ab76c5003743d1eb0ecd8a265c697f9.zip
wx: Add wxWindow:getContentScaleFactor
Diffstat (limited to 'lib/wx/c_src/gen/wxe_funcs.cpp')
-rw-r--r--lib/wx/c_src/gen/wxe_funcs.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp
index 927528fb32..5425e9f3cb 100644
--- a/lib/wx/c_src/gen/wxe_funcs.cpp
+++ b/lib/wx/c_src/gen/wxe_funcs.cpp
@@ -1716,6 +1716,15 @@ case wxWindow_SetDoubleBuffered: { // wxWindow::SetDoubleBuffered
break;
}
#endif
+#if wxCHECK_VERSION(2,9,5)
+case wxWindow_GetContentScaleFactor: { // wxWindow::GetContentScaleFactor
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ double Result = This->GetContentScaleFactor();
+ rt.addFloat(Result);
+ break;
+}
+#endif
case wxTopLevelWindow_GetIcon: { // wxTopLevelWindow::GetIcon
wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
if(!This) throw wxe_badarg(0);