git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			1286 lines
		
	
	
		
			43 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			1286 lines
		
	
	
		
			43 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * FILE : contrib/xrc/xrc.cpp
 | 
						|
 * 
 | 
						|
 * This file was automatically generated by :
 | 
						|
 * Simplified Wrapper and Interface Generator (SWIG)
 | 
						|
 * Version 1.1 (Build 883)
 | 
						|
 * 
 | 
						|
 * Portions Copyright (c) 1995-1998
 | 
						|
 * The University of Utah and The Regents of the University of California.
 | 
						|
 * Permission is granted to distribute this file in any manner provided
 | 
						|
 * this notice remains intact.
 | 
						|
 * 
 | 
						|
 * Do not make changes to this file--changes will be lost!
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
 | 
						|
#define SWIGCODE
 | 
						|
/* Implementation : PYTHON */
 | 
						|
 | 
						|
#define SWIGPYTHON
 | 
						|
#include <string.h>
 | 
						|
#include <stdlib.h>
 | 
						|
/* Definitions for Windows/Unix exporting */
 | 
						|
#if defined(__WIN32__)
 | 
						|
#   if defined(_MSC_VER)
 | 
						|
#	define SWIGEXPORT(a) __declspec(dllexport) a
 | 
						|
#   else
 | 
						|
#	if defined(__BORLANDC__)
 | 
						|
#	    define SWIGEXPORT(a) a _export
 | 
						|
#	else
 | 
						|
#	    define SWIGEXPORT(a) a
 | 
						|
#	endif
 | 
						|
#   endif
 | 
						|
#else
 | 
						|
#   define SWIGEXPORT(a) a
 | 
						|
#endif
 | 
						|
 | 
						|
#include "Python.h"
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
extern "C" {
 | 
						|
#endif
 | 
						|
 | 
						|
extern void SWIG_MakePtr(char *, void *, char *);
 | 
						|
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
 | 
						|
extern char *SWIG_GetPtr(char *, void **, char *);
 | 
						|
extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
 | 
						|
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
 | 
						|
extern PyObject *SWIG_newvarlink(void);
 | 
						|
#ifdef __cplusplus
 | 
						|
}
 | 
						|
#endif
 | 
						|
#define SWIG_init    initxrcc
 | 
						|
 | 
						|
#define SWIG_name    "xrcc"
 | 
						|
 | 
						|
#include "export.h"
 | 
						|
#include "wx/xrc/xmlres.h"
 | 
						|
 | 
						|
 | 
						|
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
 | 
						|
    PyObject*   o2;
 | 
						|
    PyObject*   o3;
 | 
						|
 | 
						|
    if (!target) {
 | 
						|
        target = o;
 | 
						|
    } else if (target == Py_None) {
 | 
						|
        Py_DECREF(Py_None);
 | 
						|
        target = o;
 | 
						|
    } else {
 | 
						|
        if (!PyTuple_Check(target)) {
 | 
						|
            o2 = target;
 | 
						|
            target = PyTuple_New(1);
 | 
						|
            PyTuple_SetItem(target, 0, o2);
 | 
						|
        }
 | 
						|
        o3 = PyTuple_New(1);
 | 
						|
        PyTuple_SetItem(o3, 0, o);
 | 
						|
 | 
						|
        o2 = target;
 | 
						|
        target = PySequence_Concat(o2, o3);
 | 
						|
        Py_DECREF(o2);
 | 
						|
        Py_DECREF(o3);
 | 
						|
    }
 | 
						|
    return target;
 | 
						|
}
 | 
						|
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    static char* wxStringErrorMsg = "String or Unicode type required";
 | 
						|
#else
 | 
						|
    static char* wxStringErrorMsg = "String type required";
 | 
						|
#endif
 | 
						|
#ifdef __cplusplus
 | 
						|
extern "C" {
 | 
						|
#endif
 | 
						|
static int _wrap_wxTheXmlResource_set(PyObject *val) {
 | 
						|
 | 
						|
    PyErr_SetString(PyExc_TypeError,"Variable wxTheXmlResource is read-only.");
 | 
						|
    return 1;
 | 
						|
}
 | 
						|
 | 
						|
static PyObject *_wrap_wxTheXmlResource_get() {
 | 
						|
    PyObject * pyobj;
 | 
						|
    char ptemp[128];
 | 
						|
 | 
						|
    SWIG_MakePtr(ptemp, (char *) wxTheXmlResource,"_wxXmlResource_p");
 | 
						|
    pyobj = PyString_FromString(ptemp);
 | 
						|
    return pyobj;
 | 
						|
}
 | 
						|
 | 
						|
static void *SwigwxXmlResourceTowxObject(void *ptr) {
 | 
						|
    wxXmlResource *src;
 | 
						|
    wxObject *dest;
 | 
						|
    src = (wxXmlResource *) ptr;
 | 
						|
    dest = (wxObject *) src;
 | 
						|
    return (void *) dest;
 | 
						|
}
 | 
						|
 | 
						|
#define new_wxXmlResourceEmpty(_swigarg0) (new wxXmlResource(_swigarg0))
 | 
						|
static PyObject *_wrap_new_wxXmlResourceEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxXmlResource * _result;
 | 
						|
    bool  _arg0 = (bool ) TRUE;
 | 
						|
    int tempbool0 = (int) TRUE;
 | 
						|
    char *_kwnames[] = { "use_locale", NULL };
 | 
						|
    char _ptemp[128];
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|i:new_wxXmlResourceEmpty",_kwnames,&tempbool0)) 
 | 
						|
        return NULL;
 | 
						|
    _arg0 = (bool ) tempbool0;
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (wxXmlResource *)new_wxXmlResourceEmpty(_arg0);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    if (_result) {
 | 
						|
        SWIG_MakePtr(_ptemp, (char *) _result,"_wxXmlResource_p");
 | 
						|
        _resultobj = Py_BuildValue("s",_ptemp);
 | 
						|
    } else {
 | 
						|
        Py_INCREF(Py_None);
 | 
						|
        _resultobj = Py_None;
 | 
						|
    }
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
static wxXmlResource *new_wxXmlResource(const wxString *filemask,bool use_locale) {
 | 
						|
            wxXmlResource* res = new wxXmlResource(*filemask, use_locale);
 | 
						|
            res->InitAllHandlers();
 | 
						|
            return res;
 | 
						|
        }
 | 
						|
 | 
						|
static PyObject *_wrap_new_wxXmlResource(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxXmlResource * _result;
 | 
						|
    wxString * _arg0;
 | 
						|
    bool  _arg1 = (bool ) TRUE;
 | 
						|
    PyObject * _obj0 = 0;
 | 
						|
    int tempbool1 = (int) TRUE;
 | 
						|
    char *_kwnames[] = { "filemask","use_locale", NULL };
 | 
						|
    char _ptemp[128];
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:new_wxXmlResource",_kwnames,&_obj0,&tempbool1)) 
 | 
						|
        return NULL;
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj0) && !PyUnicode_Check(_obj0)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj0, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg0 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj0)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg0 = new wxString(PyString_AS_STRING(_obj0), PyString_GET_SIZE(_obj0));
 | 
						|
#endif
 | 
						|
}
 | 
						|
    _arg1 = (bool ) tempbool1;
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (wxXmlResource *)new_wxXmlResource(_arg0,_arg1);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    if (_result) {
 | 
						|
        SWIG_MakePtr(_ptemp, (char *) _result,"_wxXmlResource_p");
 | 
						|
        _resultobj = Py_BuildValue("s",_ptemp);
 | 
						|
    } else {
 | 
						|
        Py_INCREF(Py_None);
 | 
						|
        _resultobj = Py_None;
 | 
						|
    }
 | 
						|
{
 | 
						|
    if (_obj0)
 | 
						|
        delete _arg0;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define delete_wxXmlResource(_swigobj) (delete _swigobj)
 | 
						|
static PyObject *_wrap_delete_wxXmlResource(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    char *_kwnames[] = { "self", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxXmlResource",_kwnames,&_argo0)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxXmlResource. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        delete_wxXmlResource(_arg0);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    Py_INCREF(Py_None);
 | 
						|
    _resultobj = Py_None;
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_Load(_swigobj,_swigarg0)  (_swigobj->Load(_swigarg0))
 | 
						|
static PyObject *_wrap_wxXmlResource_Load(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    bool  _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxString * _arg1;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _obj1 = 0;
 | 
						|
    char *_kwnames[] = { "self","filemask", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxXmlResource_Load",_kwnames,&_argo0,&_obj1)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_Load. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg1 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (bool )wxXmlResource_Load(_arg0,*_arg1);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    _resultobj = Py_BuildValue("i",_result);
 | 
						|
{
 | 
						|
    if (_obj1)
 | 
						|
        delete _arg1;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_InitAllHandlers(_swigobj)  (_swigobj->InitAllHandlers())
 | 
						|
static PyObject *_wrap_wxXmlResource_InitAllHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    char *_kwnames[] = { "self", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxXmlResource_InitAllHandlers",_kwnames,&_argo0)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_InitAllHandlers. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        wxXmlResource_InitAllHandlers(_arg0);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    Py_INCREF(Py_None);
 | 
						|
    _resultobj = Py_None;
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_AddHandler(_swigobj,_swigarg0)  (_swigobj->AddHandler(_swigarg0))
 | 
						|
static PyObject *_wrap_wxXmlResource_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxXmlResourceHandler * _arg1;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _argo1 = 0;
 | 
						|
    char *_kwnames[] = { "self","handler", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxXmlResource_AddHandler",_kwnames,&_argo0,&_argo1)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_AddHandler. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo1) {
 | 
						|
        if (_argo1 == Py_None) { _arg1 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxXmlResourceHandler_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxXmlResource_AddHandler. Expected _wxXmlResourceHandler_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        wxXmlResource_AddHandler(_arg0,_arg1);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    Py_INCREF(Py_None);
 | 
						|
    _resultobj = Py_None;
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_ClearHandlers(_swigobj)  (_swigobj->ClearHandlers())
 | 
						|
static PyObject *_wrap_wxXmlResource_ClearHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    char *_kwnames[] = { "self", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxXmlResource_ClearHandlers",_kwnames,&_argo0)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_ClearHandlers. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        wxXmlResource_ClearHandlers(_arg0);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    Py_INCREF(Py_None);
 | 
						|
    _resultobj = Py_None;
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadMenu(_swigobj,_swigarg0)  (_swigobj->LoadMenu(_swigarg0))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxMenu * _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxString * _arg1;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _obj1 = 0;
 | 
						|
    char *_kwnames[] = { "self","name", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxXmlResource_LoadMenu",_kwnames,&_argo0,&_obj1)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadMenu. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg1 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (wxMenu *)wxXmlResource_LoadMenu(_arg0,*_arg1);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}{ _resultobj = wxPyMake_wxObject(_result); }
 | 
						|
{
 | 
						|
    if (_obj1)
 | 
						|
        delete _arg1;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadMenuBar(_swigobj,_swigarg0)  (_swigobj->LoadMenuBar(_swigarg0))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxMenuBar * _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxString * _arg1;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _obj1 = 0;
 | 
						|
    char *_kwnames[] = { "self","name", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxXmlResource_LoadMenuBar",_kwnames,&_argo0,&_obj1)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadMenuBar. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg1 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (wxMenuBar *)wxXmlResource_LoadMenuBar(_arg0,*_arg1);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}{ _resultobj = wxPyMake_wxObject(_result); }
 | 
						|
{
 | 
						|
    if (_obj1)
 | 
						|
        delete _arg1;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadToolBar(_swigobj,_swigarg0,_swigarg1)  (_swigobj->LoadToolBar(_swigarg0,_swigarg1))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxToolBar * _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxWindow * _arg1;
 | 
						|
    wxString * _arg2;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _argo1 = 0;
 | 
						|
    PyObject * _obj2 = 0;
 | 
						|
    char *_kwnames[] = { "self","parent","name", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxXmlResource_LoadToolBar",_kwnames,&_argo0,&_argo1,&_obj2)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadToolBar. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo1) {
 | 
						|
        if (_argo1 == Py_None) { _arg1 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxXmlResource_LoadToolBar. Expected _wxWindow_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg2 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj2)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (wxToolBar *)wxXmlResource_LoadToolBar(_arg0,_arg1,*_arg2);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}{ _resultobj = wxPyMake_wxObject(_result); }
 | 
						|
{
 | 
						|
    if (_obj2)
 | 
						|
        delete _arg2;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadDialog(_swigobj,_swigarg0,_swigarg1)  (_swigobj->LoadDialog(_swigarg0,_swigarg1))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxDialog * _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxWindow * _arg1;
 | 
						|
    wxString * _arg2;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _argo1 = 0;
 | 
						|
    PyObject * _obj2 = 0;
 | 
						|
    char *_kwnames[] = { "self","parent","name", NULL };
 | 
						|
    char _ptemp[128];
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxXmlResource_LoadDialog",_kwnames,&_argo0,&_argo1,&_obj2)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadDialog. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo1) {
 | 
						|
        if (_argo1 == Py_None) { _arg1 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxXmlResource_LoadDialog. Expected _wxWindow_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg2 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj2)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (wxDialog *)wxXmlResource_LoadDialog(_arg0,_arg1,*_arg2);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    if (_result) {
 | 
						|
        SWIG_MakePtr(_ptemp, (char *) _result,"_wxDialog_p");
 | 
						|
        _resultobj = Py_BuildValue("s",_ptemp);
 | 
						|
    } else {
 | 
						|
        Py_INCREF(Py_None);
 | 
						|
        _resultobj = Py_None;
 | 
						|
    }
 | 
						|
{
 | 
						|
    if (_obj2)
 | 
						|
        delete _arg2;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadOnDialog(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->LoadDialog(_swigarg0,_swigarg1,_swigarg2))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadOnDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    bool  _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxDialog * _arg1;
 | 
						|
    wxWindow * _arg2;
 | 
						|
    wxString * _arg3;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _argo1 = 0;
 | 
						|
    PyObject * _argo2 = 0;
 | 
						|
    PyObject * _obj3 = 0;
 | 
						|
    char *_kwnames[] = { "self","dlg","parent","name", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxXmlResource_LoadOnDialog",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadOnDialog. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo1) {
 | 
						|
        if (_argo1 == Py_None) { _arg1 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDialog_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxXmlResource_LoadOnDialog. Expected _wxDialog_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo2) {
 | 
						|
        if (_argo2 == Py_None) { _arg2 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxXmlResource_LoadOnDialog. Expected _wxWindow_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg3 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj3)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (bool )wxXmlResource_LoadOnDialog(_arg0,_arg1,_arg2,*_arg3);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    _resultobj = Py_BuildValue("i",_result);
 | 
						|
{
 | 
						|
    if (_obj3)
 | 
						|
        delete _arg3;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadPanel(_swigobj,_swigarg0,_swigarg1)  (_swigobj->LoadPanel(_swigarg0,_swigarg1))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxPanel * _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxWindow * _arg1;
 | 
						|
    wxString * _arg2;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _argo1 = 0;
 | 
						|
    PyObject * _obj2 = 0;
 | 
						|
    char *_kwnames[] = { "self","parent","name", NULL };
 | 
						|
    char _ptemp[128];
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxXmlResource_LoadPanel",_kwnames,&_argo0,&_argo1,&_obj2)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadPanel. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo1) {
 | 
						|
        if (_argo1 == Py_None) { _arg1 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxXmlResource_LoadPanel. Expected _wxWindow_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg2 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj2)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (wxPanel *)wxXmlResource_LoadPanel(_arg0,_arg1,*_arg2);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    if (_result) {
 | 
						|
        SWIG_MakePtr(_ptemp, (char *) _result,"_wxPanel_p");
 | 
						|
        _resultobj = Py_BuildValue("s",_ptemp);
 | 
						|
    } else {
 | 
						|
        Py_INCREF(Py_None);
 | 
						|
        _resultobj = Py_None;
 | 
						|
    }
 | 
						|
{
 | 
						|
    if (_obj2)
 | 
						|
        delete _arg2;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadOnPanel(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->LoadPanel(_swigarg0,_swigarg1,_swigarg2))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadOnPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    bool  _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxPanel * _arg1;
 | 
						|
    wxWindow * _arg2;
 | 
						|
    wxString * _arg3;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _argo1 = 0;
 | 
						|
    PyObject * _argo2 = 0;
 | 
						|
    PyObject * _obj3 = 0;
 | 
						|
    char *_kwnames[] = { "self","panel","parent","name", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxXmlResource_LoadOnPanel",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadOnPanel. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo1) {
 | 
						|
        if (_argo1 == Py_None) { _arg1 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPanel_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxXmlResource_LoadOnPanel. Expected _wxPanel_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo2) {
 | 
						|
        if (_argo2 == Py_None) { _arg2 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxXmlResource_LoadOnPanel. Expected _wxWindow_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg3 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj3)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (bool )wxXmlResource_LoadOnPanel(_arg0,_arg1,_arg2,*_arg3);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    _resultobj = Py_BuildValue("i",_result);
 | 
						|
{
 | 
						|
    if (_obj3)
 | 
						|
        delete _arg3;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadFrame(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->LoadFrame(_swigarg0,_swigarg1,_swigarg2))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    bool  _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxFrame * _arg1;
 | 
						|
    wxWindow * _arg2;
 | 
						|
    wxString * _arg3;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _argo1 = 0;
 | 
						|
    PyObject * _argo2 = 0;
 | 
						|
    PyObject * _obj3 = 0;
 | 
						|
    char *_kwnames[] = { "self","frame","parent","name", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxXmlResource_LoadFrame",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadFrame. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo1) {
 | 
						|
        if (_argo1 == Py_None) { _arg1 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFrame_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxXmlResource_LoadFrame. Expected _wxFrame_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo2) {
 | 
						|
        if (_argo2 == Py_None) { _arg2 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxXmlResource_LoadFrame. Expected _wxWindow_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg3 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj3)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (bool )wxXmlResource_LoadFrame(_arg0,_arg1,_arg2,*_arg3);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    _resultobj = Py_BuildValue("i",_result);
 | 
						|
{
 | 
						|
    if (_obj3)
 | 
						|
        delete _arg3;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadBitmap(_swigobj,_swigarg0)  (_swigobj->LoadBitmap(_swigarg0))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxBitmap * _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxString * _arg1;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _obj1 = 0;
 | 
						|
    char *_kwnames[] = { "self","name", NULL };
 | 
						|
    char _ptemp[128];
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxXmlResource_LoadBitmap",_kwnames,&_argo0,&_obj1)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadBitmap. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg1 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = new wxBitmap (wxXmlResource_LoadBitmap(_arg0,*_arg1));
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
 | 
						|
    _resultobj = Py_BuildValue("s",_ptemp);
 | 
						|
{
 | 
						|
    if (_obj1)
 | 
						|
        delete _arg1;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_LoadIcon(_swigobj,_swigarg0)  (_swigobj->LoadIcon(_swigarg0))
 | 
						|
static PyObject *_wrap_wxXmlResource_LoadIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    wxIcon * _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxString * _arg1;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _obj1 = 0;
 | 
						|
    char *_kwnames[] = { "self","name", NULL };
 | 
						|
    char _ptemp[128];
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxXmlResource_LoadIcon",_kwnames,&_argo0,&_obj1)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_LoadIcon. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg1 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
 | 
						|
#endif
 | 
						|
}
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = new wxIcon (wxXmlResource_LoadIcon(_arg0,*_arg1));
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
 | 
						|
    _resultobj = Py_BuildValue("s",_ptemp);
 | 
						|
{
 | 
						|
    if (_obj1)
 | 
						|
        delete _arg1;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_AttachUnknownControl(_swigobj,_swigarg0,_swigarg1,_swigarg2)  (_swigobj->AttachUnknownControl(_swigarg0,_swigarg1,_swigarg2))
 | 
						|
static PyObject *_wrap_wxXmlResource_AttachUnknownControl(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    bool  _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    wxString * _arg1;
 | 
						|
    wxWindow * _arg2;
 | 
						|
    wxWindow * _arg3 = (wxWindow *) NULL;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    PyObject * _obj1 = 0;
 | 
						|
    PyObject * _argo2 = 0;
 | 
						|
    PyObject * _argo3 = 0;
 | 
						|
    char *_kwnames[] = { "self","name","control","parent", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|O:wxXmlResource_AttachUnknownControl",_kwnames,&_argo0,&_obj1,&_argo2,&_argo3)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_AttachUnknownControl. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
#if PYTHON_API_VERSION >= 1009
 | 
						|
    char* tmpPtr; int tmpSize;
 | 
						|
    if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
 | 
						|
        return NULL;
 | 
						|
    _arg1 = new wxString(tmpPtr, tmpSize);
 | 
						|
#else
 | 
						|
    if (!PyString_Check(_obj1)) {
 | 
						|
        PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
 | 
						|
        return NULL;
 | 
						|
    }
 | 
						|
    _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
 | 
						|
#endif
 | 
						|
}
 | 
						|
    if (_argo2) {
 | 
						|
        if (_argo2 == Py_None) { _arg2 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxWindow_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxXmlResource_AttachUnknownControl. Expected _wxWindow_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
    if (_argo3) {
 | 
						|
        if (_argo3 == Py_None) { _arg3 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxWindow_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxXmlResource_AttachUnknownControl. Expected _wxWindow_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (bool )wxXmlResource_AttachUnknownControl(_arg0,*_arg1,_arg2,_arg3);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    _resultobj = Py_BuildValue("i",_result);
 | 
						|
{
 | 
						|
    if (_obj1)
 | 
						|
        delete _arg1;
 | 
						|
}
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
static PyObject *_wrap_wxXmlResource_GetXMLID(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    int  _result;
 | 
						|
    char * _arg0;
 | 
						|
    char *_kwnames[] = { "str_id", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxXmlResource_GetXMLID",_kwnames,&_arg0)) 
 | 
						|
        return NULL;
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (int )wxXmlResource::GetXMLID(_arg0);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    _resultobj = Py_BuildValue("i",_result);
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_GetVersion(_swigobj)  (_swigobj->GetVersion())
 | 
						|
static PyObject *_wrap_wxXmlResource_GetVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    long  _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    char *_kwnames[] = { "self", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxXmlResource_GetVersion",_kwnames,&_argo0)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_GetVersion. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (long )wxXmlResource_GetVersion(_arg0);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    _resultobj = Py_BuildValue("l",_result);
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
#define wxXmlResource_CompareVersion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3)  (_swigobj->CompareVersion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
 | 
						|
static PyObject *_wrap_wxXmlResource_CompareVersion(PyObject *self, PyObject *args, PyObject *kwargs) {
 | 
						|
    PyObject * _resultobj;
 | 
						|
    int  _result;
 | 
						|
    wxXmlResource * _arg0;
 | 
						|
    int  _arg1;
 | 
						|
    int  _arg2;
 | 
						|
    int  _arg3;
 | 
						|
    int  _arg4;
 | 
						|
    PyObject * _argo0 = 0;
 | 
						|
    char *_kwnames[] = { "self","major","minor","release","revision", NULL };
 | 
						|
 | 
						|
    self = self;
 | 
						|
    if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii:wxXmlResource_CompareVersion",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) 
 | 
						|
        return NULL;
 | 
						|
    if (_argo0) {
 | 
						|
        if (_argo0 == Py_None) { _arg0 = NULL; }
 | 
						|
        else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxXmlResource_p")) {
 | 
						|
            PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxXmlResource_CompareVersion. Expected _wxXmlResource_p.");
 | 
						|
        return NULL;
 | 
						|
        }
 | 
						|
    }
 | 
						|
{
 | 
						|
    wxPy_BEGIN_ALLOW_THREADS;
 | 
						|
        _result = (int )wxXmlResource_CompareVersion(_arg0,_arg1,_arg2,_arg3,_arg4);
 | 
						|
 | 
						|
    wxPy_END_ALLOW_THREADS;
 | 
						|
}    _resultobj = Py_BuildValue("i",_result);
 | 
						|
    return _resultobj;
 | 
						|
}
 | 
						|
 | 
						|
static PyMethodDef xrccMethods[] = {
 | 
						|
	 { "wxXmlResource_CompareVersion", (PyCFunction) _wrap_wxXmlResource_CompareVersion, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_GetVersion", (PyCFunction) _wrap_wxXmlResource_GetVersion, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_GetXMLID", (PyCFunction) _wrap_wxXmlResource_GetXMLID, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_AttachUnknownControl", (PyCFunction) _wrap_wxXmlResource_AttachUnknownControl, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadIcon", (PyCFunction) _wrap_wxXmlResource_LoadIcon, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadBitmap", (PyCFunction) _wrap_wxXmlResource_LoadBitmap, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadFrame", (PyCFunction) _wrap_wxXmlResource_LoadFrame, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadOnPanel", (PyCFunction) _wrap_wxXmlResource_LoadOnPanel, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadPanel", (PyCFunction) _wrap_wxXmlResource_LoadPanel, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadOnDialog", (PyCFunction) _wrap_wxXmlResource_LoadOnDialog, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadDialog", (PyCFunction) _wrap_wxXmlResource_LoadDialog, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadToolBar", (PyCFunction) _wrap_wxXmlResource_LoadToolBar, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadMenuBar", (PyCFunction) _wrap_wxXmlResource_LoadMenuBar, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_LoadMenu", (PyCFunction) _wrap_wxXmlResource_LoadMenu, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_ClearHandlers", (PyCFunction) _wrap_wxXmlResource_ClearHandlers, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_AddHandler", (PyCFunction) _wrap_wxXmlResource_AddHandler, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_InitAllHandlers", (PyCFunction) _wrap_wxXmlResource_InitAllHandlers, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "wxXmlResource_Load", (PyCFunction) _wrap_wxXmlResource_Load, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "delete_wxXmlResource", (PyCFunction) _wrap_delete_wxXmlResource, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "new_wxXmlResource", (PyCFunction) _wrap_new_wxXmlResource, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { "new_wxXmlResourceEmpty", (PyCFunction) _wrap_new_wxXmlResourceEmpty, METH_VARARGS | METH_KEYWORDS },
 | 
						|
	 { NULL, NULL }
 | 
						|
};
 | 
						|
#ifdef __cplusplus
 | 
						|
}
 | 
						|
#endif
 | 
						|
/*
 | 
						|
 * This table is used by the pointer type-checker
 | 
						|
 */
 | 
						|
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
 | 
						|
    { "_signed_long","_long",0},
 | 
						|
    { "_wxPrintQuality","_wxCoord",0},
 | 
						|
    { "_wxPrintQuality","_int",0},
 | 
						|
    { "_wxPrintQuality","_signed_int",0},
 | 
						|
    { "_wxPrintQuality","_unsigned_int",0},
 | 
						|
    { "_wxPrintQuality","_wxWindowID",0},
 | 
						|
    { "_wxPrintQuality","_uint",0},
 | 
						|
    { "_wxPrintQuality","_EBool",0},
 | 
						|
    { "_wxPrintQuality","_size_t",0},
 | 
						|
    { "_wxPrintQuality","_time_t",0},
 | 
						|
    { "_byte","_unsigned_char",0},
 | 
						|
    { "_long","_unsigned_long",0},
 | 
						|
    { "_long","_signed_long",0},
 | 
						|
    { "_size_t","_wxCoord",0},
 | 
						|
    { "_size_t","_wxPrintQuality",0},
 | 
						|
    { "_size_t","_time_t",0},
 | 
						|
    { "_size_t","_unsigned_int",0},
 | 
						|
    { "_size_t","_int",0},
 | 
						|
    { "_size_t","_wxWindowID",0},
 | 
						|
    { "_size_t","_uint",0},
 | 
						|
    { "_uint","_wxCoord",0},
 | 
						|
    { "_uint","_wxPrintQuality",0},
 | 
						|
    { "_uint","_time_t",0},
 | 
						|
    { "_uint","_size_t",0},
 | 
						|
    { "_uint","_unsigned_int",0},
 | 
						|
    { "_uint","_int",0},
 | 
						|
    { "_uint","_wxWindowID",0},
 | 
						|
    { "_wxChar","_char",0},
 | 
						|
    { "_char","_wxChar",0},
 | 
						|
    { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
 | 
						|
    { "_EBool","_wxCoord",0},
 | 
						|
    { "_EBool","_wxPrintQuality",0},
 | 
						|
    { "_EBool","_signed_int",0},
 | 
						|
    { "_EBool","_int",0},
 | 
						|
    { "_EBool","_wxWindowID",0},
 | 
						|
    { "_unsigned_long","_long",0},
 | 
						|
    { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
 | 
						|
    { "_signed_int","_wxCoord",0},
 | 
						|
    { "_signed_int","_wxPrintQuality",0},
 | 
						|
    { "_signed_int","_EBool",0},
 | 
						|
    { "_signed_int","_wxWindowID",0},
 | 
						|
    { "_signed_int","_int",0},
 | 
						|
    { "_WXTYPE","_wxDateTime_t",0},
 | 
						|
    { "_WXTYPE","_short",0},
 | 
						|
    { "_WXTYPE","_signed_short",0},
 | 
						|
    { "_WXTYPE","_unsigned_short",0},
 | 
						|
    { "_unsigned_short","_wxDateTime_t",0},
 | 
						|
    { "_unsigned_short","_WXTYPE",0},
 | 
						|
    { "_unsigned_short","_short",0},
 | 
						|
    { "_wxObject","_wxXmlResource",SwigwxXmlResourceTowxObject},
 | 
						|
    { "_signed_short","_WXTYPE",0},
 | 
						|
    { "_signed_short","_short",0},
 | 
						|
    { "_unsigned_char","_byte",0},
 | 
						|
    { "_unsigned_int","_wxCoord",0},
 | 
						|
    { "_unsigned_int","_wxPrintQuality",0},
 | 
						|
    { "_unsigned_int","_time_t",0},
 | 
						|
    { "_unsigned_int","_size_t",0},
 | 
						|
    { "_unsigned_int","_uint",0},
 | 
						|
    { "_unsigned_int","_wxWindowID",0},
 | 
						|
    { "_unsigned_int","_int",0},
 | 
						|
    { "_short","_wxDateTime_t",0},
 | 
						|
    { "_short","_WXTYPE",0},
 | 
						|
    { "_short","_unsigned_short",0},
 | 
						|
    { "_short","_signed_short",0},
 | 
						|
    { "_wxWindowID","_wxCoord",0},
 | 
						|
    { "_wxWindowID","_wxPrintQuality",0},
 | 
						|
    { "_wxWindowID","_time_t",0},
 | 
						|
    { "_wxWindowID","_size_t",0},
 | 
						|
    { "_wxWindowID","_EBool",0},
 | 
						|
    { "_wxWindowID","_uint",0},
 | 
						|
    { "_wxWindowID","_int",0},
 | 
						|
    { "_wxWindowID","_signed_int",0},
 | 
						|
    { "_wxWindowID","_unsigned_int",0},
 | 
						|
    { "_int","_wxCoord",0},
 | 
						|
    { "_int","_wxPrintQuality",0},
 | 
						|
    { "_int","_time_t",0},
 | 
						|
    { "_int","_size_t",0},
 | 
						|
    { "_int","_EBool",0},
 | 
						|
    { "_int","_uint",0},
 | 
						|
    { "_int","_wxWindowID",0},
 | 
						|
    { "_int","_unsigned_int",0},
 | 
						|
    { "_int","_signed_int",0},
 | 
						|
    { "_wxDateTime_t","_unsigned_short",0},
 | 
						|
    { "_wxDateTime_t","_short",0},
 | 
						|
    { "_wxDateTime_t","_WXTYPE",0},
 | 
						|
    { "_time_t","_wxCoord",0},
 | 
						|
    { "_time_t","_wxPrintQuality",0},
 | 
						|
    { "_time_t","_unsigned_int",0},
 | 
						|
    { "_time_t","_int",0},
 | 
						|
    { "_time_t","_wxWindowID",0},
 | 
						|
    { "_time_t","_uint",0},
 | 
						|
    { "_time_t","_size_t",0},
 | 
						|
    { "_wxCoord","_int",0},
 | 
						|
    { "_wxCoord","_signed_int",0},
 | 
						|
    { "_wxCoord","_unsigned_int",0},
 | 
						|
    { "_wxCoord","_wxWindowID",0},
 | 
						|
    { "_wxCoord","_uint",0},
 | 
						|
    { "_wxCoord","_EBool",0},
 | 
						|
    { "_wxCoord","_size_t",0},
 | 
						|
    { "_wxCoord","_time_t",0},
 | 
						|
    { "_wxCoord","_wxPrintQuality",0},
 | 
						|
{0,0,0}};
 | 
						|
 | 
						|
static PyObject *SWIG_globals;
 | 
						|
#ifdef __cplusplus
 | 
						|
extern "C" 
 | 
						|
#endif
 | 
						|
SWIGEXPORT(void) initxrcc() {
 | 
						|
	 PyObject *m, *d;
 | 
						|
	 SWIG_globals = SWIG_newvarlink();
 | 
						|
	 m = Py_InitModule("xrcc", xrccMethods);
 | 
						|
	 d = PyModule_GetDict(m);
 | 
						|
	 PyDict_SetItemString(d,"cvar", SWIG_globals);
 | 
						|
	 SWIG_addvarlink(SWIG_globals,"wxTheXmlResource",_wrap_wxTheXmlResource_get, _wrap_wxTheXmlResource_set);
 | 
						|
 | 
						|
 | 
						|
    wxClassInfo::CleanUpClasses();
 | 
						|
    wxClassInfo::InitializeClasses();
 | 
						|
 | 
						|
    wxXmlInitXmlModule();
 | 
						|
    wxXmlInitResourceModule();
 | 
						|
    wxTheXmlResource->InitAllHandlers();
 | 
						|
 | 
						|
{
 | 
						|
   int i;
 | 
						|
   for (i = 0; _swig_mapping[i].n1; i++)
 | 
						|
        SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
 | 
						|
}
 | 
						|
}
 |