diff options
author | Dan Gudmundsson <[email protected]> | 2016-10-07 12:35:38 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-10-07 12:35:38 +0200 |
commit | 301675fb9ab76c5003743d1eb0ecd8a265c697f9 (patch) | |
tree | 579b28659ad670a2e9711d5ca4110b74de55195d /lib/wx/c_src/gen/wxe_funcs.cpp | |
parent | 668e0ae7e0e06edc03eb188f1cb6b223ec8c8d47 (diff) | |
download | otp-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.cpp | 9 |
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); |