diff options
author | Dan Gudmundsson <[email protected]> | 2016-02-29 09:17:37 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-02-29 10:37:47 +0100 |
commit | 125016706cdfb30f6462076d5bf7c0144a3d2373 (patch) | |
tree | de115311631d5e0bbf2c948d0702e273b21e4aa6 /lib/wx/c_src/gen/wxe_funcs.cpp | |
parent | 375a6d9b157aab42c0a4e866ff5933494a2ea081 (diff) | |
download | otp-125016706cdfb30f6462076d5bf7c0144a3d2373.tar.gz otp-125016706cdfb30f6462076d5bf7c0144a3d2373.tar.bz2 otp-125016706cdfb30f6462076d5bf7c0144a3d2373.zip |
wx: Add wxWindow:SetTransparent and CanSetTransperant
Available in at least 2.8.12 and later.
Diffstat (limited to 'lib/wx/c_src/gen/wxe_funcs.cpp')
-rw-r--r-- | lib/wx/c_src/gen/wxe_funcs.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp index 772b3d9b22..87779dacc6 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -1668,6 +1668,25 @@ case wxWindow_WarpPointer: { // wxWindow::WarpPointer This->WarpPointer(*x,*y); break; } +#if wxCHECK_VERSION(2,8,12) +case wxWindow_SetTransparent: { // wxWindow::SetTransparent + wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; + int * alpha = (int *) bp; bp += 4; + if(!This) throw wxe_badarg(0); + bool Result = This->SetTransparent(*alpha); + rt.addBool(Result); + break; +} +#endif +#if wxCHECK_VERSION(2,8,12) +case wxWindow_CanSetTransparent: { // wxWindow::CanSetTransparent + wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + bool Result = This->CanSetTransparent(); + rt.addBool(Result); + break; +} +#endif #if wxCHECK_VERSION(3,0,0) case wxWindow_IsDoubleBuffered: { // wxWindow::IsDoubleBuffered wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4; |