diff options
| author | Dan Gudmundsson <[email protected]> | 2015-12-08 10:04:36 +0100 |
|---|---|---|
| committer | Dan Gudmundsson <[email protected]> | 2015-12-08 10:04:36 +0100 |
| commit | b141e8ca9e3b0a134395a18e36b5b53a0dcbcc1c (patch) | |
| tree | 008bc35a75ff84b010cf6716e6041db68352d956 /lib/wx/c_src/gen/wxe_funcs.cpp | |
| parent | 494afc417880374d11971b73e8aab3d2321eee2d (diff) | |
| parent | afdff184c6d7f98d525cb149018d3814912e9a2b (diff) | |
| download | otp-b141e8ca9e3b0a134395a18e36b5b53a0dcbcc1c.tar.gz otp-b141e8ca9e3b0a134395a18e36b5b53a0dcbcc1c.tar.bz2 otp-b141e8ca9e3b0a134395a18e36b5b53a0dcbcc1c.zip | |
Merge branch 'maint'
* maint:
wx: Add toolbar stretchablespace
observer: Handle truncated binaries
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 4025fb1c16..b2830dbc63 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -8520,6 +8520,25 @@ data = (wxObject *) getPtr(bp,memenv); bp += 4; rt.addRef(getRef((void *)Result,memenv), "wx"); break; } +#if wxCHECK_VERSION(3,0,0) +case wxToolBar_AddStretchableSpace: { // wxToolBar::AddStretchableSpace + wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; + if(!This) throw wxe_badarg(0); + wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddStretchableSpace(); + rt.addRef(getRef((void *)Result,memenv), "wx"); + break; +} +#endif +#if wxCHECK_VERSION(3,0,0) +case wxToolBar_InsertStretchableSpace: { // wxToolBar::InsertStretchableSpace + wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; + int * pos = (int *) bp; bp += 4; + if(!This) throw wxe_badarg(0); + wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertStretchableSpace(*pos); + rt.addRef(getRef((void *)Result,memenv), "wx"); + break; +} +#endif case wxToolBar_DeleteTool: { // wxToolBar::DeleteTool wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4; int * toolid = (int *) bp; bp += 4; |
