#include <wx/xml/xml.h>
#include <wx/xrc/xmlres.h>
-
static const wxString wxPyEmptyString(wxEmptyString);
static const wxString wxPyUTF8String(wxT("UTF-8"));
static const wxString wxPyStyleString(wxT("style"));
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDialog, 0);
+ {
+ resultobj = wxPyMake_wxObject(result);
+ }
{
if (temp3)
delete arg3;
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
- resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPanel, 0);
+ {
+ resultobj = wxPyMake_wxObject(result);
+ }
{
if (temp3)
delete arg3;