diff options
author | Dan Gudmundsson <[email protected]> | 2014-04-16 14:11:17 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2014-04-16 14:11:17 +0200 |
commit | 7e3b674e905ba8008edd1589db3473d15792a585 (patch) | |
tree | 40874f23c397f256fda926dba45b2e248ff846f1 /lib/wx/c_src/gen/wxe_funcs.cpp | |
parent | b8494d9b7362f1edfb87f2dbd9f12e316ac71c1e (diff) | |
download | otp-7e3b674e905ba8008edd1589db3473d15792a585.tar.gz otp-7e3b674e905ba8008edd1589db3473d15792a585.tar.bz2 otp-7e3b674e905ba8008edd1589db3473d15792a585.zip |
wx: Add missing wxTextCtrl:changeValue
It was missing.
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 c1e9f3829a..4d1f9d9df6 100644 --- a/lib/wx/c_src/gen/wxe_funcs.cpp +++ b/lib/wx/c_src/gen/wxe_funcs.cpp @@ -16774,6 +16774,15 @@ case wxTextCtrl_DiscardEdits: { // wxTextCtrl::DiscardEdits This->DiscardEdits(); break; } +case wxTextCtrl_ChangeValue: { // wxTextCtrl::ChangeValue + wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; + int * valueLen = (int *) bp; bp += 4; + wxString value = wxString(bp, wxConvUTF8); + bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7); + if(!This) throw wxe_badarg(0); + This->ChangeValue(value); + break; +} case wxTextCtrl_EmulateKeyPress: { // wxTextCtrl::EmulateKeyPress wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4; wxKeyEvent *event = (wxKeyEvent *) getPtr(bp,memenv); bp += 4; |