aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2009-12-04 09:56:03 +0100
committerDan Gudmundsson <[email protected]>2009-12-04 09:56:03 +0100
commit546b1dfb3d66be446c90b4d9e11333352dbd5011 (patch)
treea8207c0074a94406b5e92b629d34b4ae3c28558e /lib/wx/c_src
parent65afa51a2b653301a0393b6e5089b38b6fd0fcd6 (diff)
downloadotp-546b1dfb3d66be446c90b4d9e11333352dbd5011.tar.gz
otp-546b1dfb3d66be446c90b4d9e11333352dbd5011.tar.bz2
otp-546b1dfb3d66be446c90b4d9e11333352dbd5011.zip
The generated updates, of the previous fix.
Diffstat (limited to 'lib/wx/c_src')
-rw-r--r--lib/wx/c_src/gen/wxe_funcs.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp
index cb662fc91b..ccbacce9b9 100644
--- a/lib/wx/c_src/gen/wxe_funcs.cpp
+++ b/lib/wx/c_src/gen/wxe_funcs.cpp
@@ -20582,19 +20582,11 @@ case wxFileDialog_GetPath: { // wxFileDialog::GetPath
break;
}
case wxFileDialog_GetPaths: { // wxFileDialog::GetPaths
- wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
- int * pathsLen = (int *) bp; bp += 4;
wxArrayString paths;
- int pathsASz = 0, * pathsTemp;
- for(int i=0; i < *pathsLen; i++) {
- pathsTemp = (int *) bp; bp += 4;
- paths.Add(wxString(bp, wxConvUTF8));
- bp += *pathsTemp;
- pathsASz += *pathsTemp+4;
- }
- bp += (8-((0+ pathsASz) & 7 )) & 7;
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
if(!This) throw wxe_badarg(0);
This->GetPaths(paths);
+ rt.add(paths);
break;
}
case wxFileDialog_GetWildcard: { // wxFileDialog::GetWildcard