diff options
author | Dan Gudmundsson <[email protected]> | 2010-08-27 10:18:58 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2010-08-27 10:18:58 +0200 |
commit | 3fc1aec6e9aa51244d1bd071f020eef029afa432 (patch) | |
tree | a7d4289c143cc8df14486552af8a634901cba532 /lib/wx/c_src/gen/wxe_funcs.cpp | |
parent | 1b4a6172d8d2df4362d6d084daef02804e10ebb6 (diff) | |
parent | 1325d706399b39ab08845fee30183cf84704a435 (diff) | |
download | otp-3fc1aec6e9aa51244d1bd071f020eef029afa432.tar.gz otp-3fc1aec6e9aa51244d1bd071f020eef029afa432.tar.bz2 otp-3fc1aec6e9aa51244d1bd071f020eef029afa432.zip |
Merge branch 'dgud/wx/TreeCtrl_editlabel/OTP-8767' into dev
* dgud/wx/TreeCtrl_editlabel/OTP-8767:
Add .gitignore
Added missing wxTextCtrl:editLabel/2.
Diffstat (limited to 'lib/wx/c_src/gen/wxe_funcs.cpp')
-rw-r--r-- | lib/wx/c_src/gen/wxe_funcs.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp index 11aac7cd5c..8c056bbb91 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -18501,6 +18501,15 @@ case wxTreeCtrl_DeleteChildren: { // wxTreeCtrl::DeleteChildren This->DeleteChildren(item); break; } +case wxTreeCtrl_EditLabel: { // wxTreeCtrl::EditLabel + wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; + bp += 4; /* Align */ + wxTreeItemId item = wxTreeItemId((void *) *(wxUint64 *) bp); bp += 8; + if(!This) throw wxe_badarg(0); + wxTextCtrl * Result = (wxTextCtrl*)This->EditLabel(item); + rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl"); + break; +} case wxTreeCtrl_EnsureVisible: { // wxTreeCtrl::EnsureVisible wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4; bp += 4; /* Align */ |