diff options
author | Dan Gudmundsson <[email protected]> | 2015-12-07 11:28:10 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-12-07 14:18:24 +0100 |
commit | da80d59e56bc8318c6561173b13a4f6904d4758d (patch) | |
tree | f9df33482f6dfe38eb7d008576d325ffdfa693a9 /lib/wx/c_src/gen/wxe_funcs.cpp | |
parent | 7a13283ac6f4a7738dbe2a2ccfce392a820dca2a (diff) | |
download | otp-da80d59e56bc8318c6561173b13a4f6904d4758d.tar.gz otp-da80d59e56bc8318c6561173b13a4f6904d4758d.tar.bz2 otp-da80d59e56bc8318c6561173b13a4f6904d4758d.zip |
wx: Add toolbar stretchablespace
Available since 3.0
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; |