diff options
author | Dan Gudmundsson <[email protected]> | 2011-07-07 15:13:48 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2011-07-07 15:13:48 +0200 |
commit | f6d661504a1998f3a243731d3fe5769641f80bcc (patch) | |
tree | 8063da1b1fc5b146296b7a001e3cbc36d90a4ddb /lib/wx/c_src | |
parent | ac970679c2570947374de24bc69f8721714002f0 (diff) | |
download | otp-f6d661504a1998f3a243731d3fe5769641f80bcc.tar.gz otp-f6d661504a1998f3a243731d3fe5769641f80bcc.tar.bz2 otp-f6d661504a1998f3a243731d3fe5769641f80bcc.zip |
Fix documentation and callback options in wxListCtrl:create/3
Diffstat (limited to 'lib/wx/c_src')
-rw-r--r-- | lib/wx/c_src/gen/wxe_funcs.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp index 189817d2ad..afef2990b4 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -15230,14 +15230,18 @@ case wxListCtrl_ClearAll: { // wxListCtrl::ClearAll This->ClearAll(); break; } + case wxListCtrl_Create: { // wxListCtrl::Create wxWindowID winid=wxID_ANY; wxPoint pos= wxDefaultPosition; wxSize size= wxDefaultSize; long style=wxLC_ICON; const wxValidator * validator= &wxDefaultValidator; - wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4; + EwxListCtrl *This = (EwxListCtrl *) getPtr(bp,memenv); bp += 4; wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4; + int onGetItemText = 0, onGetItemAttr = 0, onGetItemColumnImage = 0; + + bp += 4; /* Align */ while( * (int*) bp) { switch (* (int*) bp) { case 1: {bp += 4; winid = (wxWindowID)*(int *) bp; bp += 4; @@ -15260,9 +15264,23 @@ case wxListCtrl_Create: { // wxListCtrl::Create case 5: {bp += 4; validator = (wxValidator *) getPtr(bp,memenv); bp += 4; } break; + case 6: {bp += 4; + onGetItemText = *(int *) bp; bp += 4; + } break; + case 7: {bp += 4; + onGetItemAttr = *(int *) bp; bp += 4; + } break; + case 8: {bp += 4; + onGetItemColumnImage = *(int *) bp; bp += 4; + } break; }}; if(!This) throw wxe_badarg(0); bool Result = This->Create(parent,winid,pos,size,style,*validator); + This->onGetItemText = onGetItemText; + This->onGetItemAttr = onGetItemAttr; + This->onGetItemColumnImage = onGetItemColumnImage; + This->port = Ecmd.port; + rt.addBool(Result); break; } |