diff options
author | Dan Gudmundsson <[email protected]> | 2013-08-21 15:20:27 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2013-08-21 15:20:27 +0200 |
commit | d7ade924b9227cf6b6f0cac7a0d19f9b4909ce60 (patch) | |
tree | 00597913e016529206a90b9fcb571c3b2e36aa1e /lib/wx/c_src | |
parent | 51258174f9f56f6f5149459f0025f8da030321f5 (diff) | |
download | otp-d7ade924b9227cf6b6f0cac7a0d19f9b4909ce60.tar.gz otp-d7ade924b9227cf6b6f0cac7a0d19f9b4909ce60.tar.bz2 otp-d7ade924b9227cf6b6f0cac7a0d19f9b4909ce60.zip |
wx: Fix bug in wxStatusBar:getFieldRect/2
Diffstat (limited to 'lib/wx/c_src')
-rw-r--r-- | lib/wx/c_src/gen/wxe_funcs.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp index 2d55f34346..74fddc2133 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -8849,16 +8849,14 @@ case wxStatusBar_Create: { // wxStatusBar::Create break; } case wxStatusBar_GetFieldRect: { // wxStatusBar::GetFieldRect + wxRect rect; wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4; int * i = (int *) bp; bp += 4; - int * rectX = (int *) bp; bp += 4; - int * rectY = (int *) bp; bp += 4; - int * rectW = (int *) bp; bp += 4; - int * rectH = (int *) bp; bp += 4; - wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH); if(!This) throw wxe_badarg(0); bool Result = This->GetFieldRect(*i,rect); rt.addBool(Result); + rt.add(rect); + rt.addTupleCount(2); break; } case wxStatusBar_GetFieldsCount: { // wxStatusBar::GetFieldsCount |