-static PyObject *_wrap_wxResourceAddIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- bool _result;
- char * _arg0;
- int _arg1;
- char *_kwnames[] = { "name","value", NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"si:wxResourceAddIdentifier",_kwnames,&_arg0,&_arg1))
- return NULL;
-{
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- _result = (bool )wxResourceAddIdentifier(_arg0,_arg1);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) return NULL;
-} _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-static PyObject *_wrap_wxResourceClear(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- char *_kwnames[] = { NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxResourceClear",_kwnames))
- return NULL;
-{
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- wxResourceClear();
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) return NULL;
-} Py_INCREF(Py_None);
- _resultobj = Py_None;
- return _resultobj;
-}
-
-static PyObject *_wrap_wxResourceCreateBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- wxBitmap * _result;
- char * _arg0;
- char *_kwnames[] = { "resource", NULL };
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateBitmap",_kwnames,&_arg0))
- return NULL;
-{
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- _result = new wxBitmap (wxResourceCreateBitmap(_arg0));
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) return NULL;
-} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-
-static PyObject *_wrap_wxResourceCreateIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- wxIcon * _result;
- char * _arg0;
- char *_kwnames[] = { "resource", NULL };
- char _ptemp[128];
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateIcon",_kwnames,&_arg0))
- return NULL;
-{
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- _result = new wxIcon (wxResourceCreateIcon(_arg0));
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) return NULL;
-} SWIG_MakePtr(_ptemp, (void *) _result,"_wxIcon_p");
- _resultobj = Py_BuildValue("s",_ptemp);
- return _resultobj;
-}
-
-static PyObject *_wrap_wxResourceCreateMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- wxMenuBar * _result;
- char * _arg0;
- char *_kwnames[] = { "resource", NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceCreateMenuBar",_kwnames,&_arg0))
- return NULL;
-{
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- _result = (wxMenuBar *)wxResourceCreateMenuBar(_arg0);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) return NULL;
-}{ _resultobj = wxPyMake_wxObject(_result); }
- return _resultobj;
-}
-
-static PyObject *_wrap_wxResourceGetIdentifier(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- int _result;
- char * _arg0;
- char *_kwnames[] = { "name", NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s:wxResourceGetIdentifier",_kwnames,&_arg0))
- return NULL;
-{
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- _result = (int )wxResourceGetIdentifier(_arg0);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) return NULL;
-} _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-static PyObject *_wrap_wxResourceParseData(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- bool _result;
- char * _arg0;
- wxResourceTable * _arg1 = (wxResourceTable *) NULL;
- PyObject * _argo1 = 0;
- char *_kwnames[] = { "resource","table", NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseData",_kwnames,&_arg0,&_argo1))
- return NULL;
- if (_argo1) {
- if (_argo1 == Py_None) { _arg1 = NULL; }
- else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
- return NULL;
- }
- }
-{
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- _result = (bool )wxResourceParseData(_arg0,_arg1);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) return NULL;
-} _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-static PyObject *_wrap_wxResourceParseFile(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- bool _result;
- char * _arg0;
- wxResourceTable * _arg1 = (wxResourceTable *) NULL;
- PyObject * _argo1 = 0;
- char *_kwnames[] = { "filename","table", NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseFile",_kwnames,&_arg0,&_argo1))
- return NULL;
- if (_argo1) {
- if (_argo1 == Py_None) { _arg1 = NULL; }
- else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
- return NULL;
- }
- }
-{
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- _result = (bool )wxResourceParseFile(_arg0,_arg1);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) return NULL;
-} _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-
-static PyObject *_wrap_wxResourceParseString(PyObject *self, PyObject *args, PyObject *kwargs) {
- PyObject * _resultobj;
- bool _result;
- char * _arg0;
- wxResourceTable * _arg1 = (wxResourceTable *) NULL;
- PyObject * _argo1 = 0;
- char *_kwnames[] = { "resource","table", NULL };
-
- self = self;
- if(!PyArg_ParseTupleAndKeywords(args,kwargs,"s|O:wxResourceParseString",_kwnames,&_arg0,&_argo1))
- return NULL;
- if (_argo1) {
- if (_argo1 == Py_None) { _arg1 = NULL; }
- else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxResourceTable_p")) {
- PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
- return NULL;
- }
- }
-{
- PyThreadState* __tstate = wxPyBeginAllowThreads();
- _result = (bool )wxResourceParseString(_arg0,_arg1);
-
- wxPyEndAllowThreads(__tstate);
- if (PyErr_Occurred()) return NULL;
-} _resultobj = Py_BuildValue("i",_result);
- return _resultobj;
-}
-