git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33994
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
15 files changed:
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg7->Add(Py2wxString(str));
+ arg7->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg7->Add(Py2wxString(str));
+ arg7->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj0);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj0, i);
int i, len=PySequence_Length(obj0);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj0, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg1->Add(Py2wxString(str));
+ arg1->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj2);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj2, i);
int i, len=PySequence_Length(obj2);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj2, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg3->Add(Py2wxString(str));
+ arg3->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg7->Add(Py2wxString(str));
+ arg7->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg7->Add(Py2wxString(str));
+ arg7->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj0);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj0, i);
int i, len=PySequence_Length(obj0);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj0, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg1->Add(Py2wxString(str));
+ arg1->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj2);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj2, i);
int i, len=PySequence_Length(obj2);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj2, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg3->Add(Py2wxString(str));
+ arg3->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg7->Add(Py2wxString(str));
+ arg7->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
int i, len=PySequence_Length(obj4);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj4, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg5->Add(Py2wxString(str));
+ arg5->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
int i, len=PySequence_Length(obj5);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj5, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg6->Add(Py2wxString(str));
+ arg6->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
int i, len=PySequence_Length(obj6);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj6, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg7->Add(Py2wxString(str));
+ arg7->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
int i, len=PySequence_Length(obj1);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj1, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg2->Add(Py2wxString(str));
+ arg2->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj0);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj0, i);
int i, len=PySequence_Length(obj0);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj0, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg1->Add(Py2wxString(str));
+ arg1->Add(*s);
+ delete s;
int i, len=PySequence_Length(obj2);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj2, i);
int i, len=PySequence_Length(obj2);
for (i=0; i<len; i++) {
PyObject* item = PySequence_GetItem(obj2, i);
-#if wxUSE_UNICODE
- PyObject* str = PyObject_Unicode(item);
-#else
- PyObject* str = PyObject_Str(item);
-#endif
+ wxString* s = wxString_in_helper(item);
if (PyErr_Occurred()) SWIG_fail;
if (PyErr_Occurred()) SWIG_fail;
- arg3->Add(Py2wxString(str));
+ arg3->Add(*s);
+ delete s;