#define SWIG_TypeName SWIG_Python_TypeName
#define SWIG_TypeQuery SWIG_Python_TypeQuery
#define SWIG_TypeClientData SWIG_Python_TypeClientData
-#define SWIG_PackData SWIG_Python_PackData
-#define SWIG_UnpackData SWIG_Python_UnpackData
+#define SWIG_PackData SWIG_Python_PackData
+#define SWIG_UnpackData SWIG_Python_UnpackData
+
/***********************************************************************
* common.swg for wxPython
#include <wx/wizard.h>
- static const wxString wxPyEmptyString(wxT(""));
+ static const wxString wxPyEmptyString(wxEmptyString);
bool wxWizardPage_Create(wxWizardPage *self,wxWizard *parent,wxBitmap const &bitmap,wxString const &resource){
wxChar* res = NULL;
if (resource.Length())
wxBitmap *arg2 = (wxBitmap *) &wxNullBitmap ;
wxString *arg3 = (wxString *) &wxPyEmptyString ;
wxPyWizardPage *result;
+ bool temp3 = False ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
PyObject * obj2 = 0 ;
if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
}
if (obj2) {
- if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
+ {
+ arg3 = wxString_in_helper(obj2);
+ if (arg3 == NULL) SWIG_fail;
+ temp3 = True;
+ }
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWizardPage, 1);
+ {
+ if (temp3)
+ delete arg3;
+ }
return resultobj;
fail:
+ {
+ if (temp3)
+ delete arg3;
+ }
return NULL;
}
PyObject *resultobj;
wxWindow *arg1 = (wxWindow *) 0 ;
int arg2 = (int) -1 ;
- wxString const &arg3_defvalue = wxEmptyString ;
+ wxString const &arg3_defvalue = wxPyEmptyString ;
wxString *arg3 = (wxString *) &arg3_defvalue ;
wxBitmap const &arg4_defvalue = wxNullBitmap ;
wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
wxWizard *arg1 = (wxWizard *) 0 ;
wxWindow *arg2 = (wxWindow *) 0 ;
int arg3 = (int) -1 ;
- wxString const &arg4_defvalue = wxEmptyString ;
+ wxString const &arg4_defvalue = wxPyEmptyString ;
wxString *arg4 = (wxString *) &arg4_defvalue ;
wxBitmap const &arg5_defvalue = wxNullBitmap ;
wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;