SWIGged updates for wxMSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-01-10 00:47:36 +00:00
parent 358f4baccc
commit e591a85a40
6 changed files with 139 additions and 106 deletions

View File

@@ -3628,17 +3628,22 @@ static PyObject *_wrap_wxColour_Get(PyObject *self, PyObject *args, PyObject *kw
return _resultobj;
}
static bool wxColour___eq__(wxColour *self,const wxColour & o) { return *self == o; }
static bool wxColour___eq__(wxColour *self,PyObject * obj) {
wxColour tmp;
wxColour* ptr = &tmp;
if (obj == Py_None) return FALSE;
if (! wxColour_helper(obj, &ptr)) return FALSE;
return *self == *ptr;
}
static PyObject *_wrap_wxColour___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
bool _result;
wxColour * _arg0;
wxColour * _arg1;
PyObject * _arg1;
wxColour temp;
PyObject * _obj0 = 0;
wxColour temp0;
PyObject * _obj1 = 0;
char *_kwnames[] = { "self","o", NULL };
char *_kwnames[] = { "self","obj", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColour___eq__",_kwnames,&_obj0,&_obj1))
@@ -3649,13 +3654,11 @@ static PyObject *_wrap_wxColour___eq__(PyObject *self, PyObject *args, PyObject
return NULL;
}
{
_arg1 = &temp0;
if (! wxColour_helper(_obj1, &_arg1))
return NULL;
_arg1 = _obj1;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (bool )wxColour___eq__(_arg0,*_arg1);
_result = (bool )wxColour___eq__(_arg0,_arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;
@@ -3663,17 +3666,22 @@ static PyObject *_wrap_wxColour___eq__(PyObject *self, PyObject *args, PyObject
return _resultobj;
}
static bool wxColour___ne__(wxColour *self,const wxColour & o) { return *self != o; }
static bool wxColour___ne__(wxColour *self,PyObject * obj) {
wxColour tmp;
wxColour* ptr = &tmp;
if (obj == Py_None) return TRUE;
if (! wxColour_helper(obj, &ptr)) return TRUE;
return *self != *ptr;
}
static PyObject *_wrap_wxColour___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
bool _result;
wxColour * _arg0;
wxColour * _arg1;
PyObject * _arg1;
wxColour temp;
PyObject * _obj0 = 0;
wxColour temp0;
PyObject * _obj1 = 0;
char *_kwnames[] = { "self","o", NULL };
char *_kwnames[] = { "self","obj", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxColour___ne__",_kwnames,&_obj0,&_obj1))
@@ -3684,13 +3692,11 @@ static PyObject *_wrap_wxColour___ne__(PyObject *self, PyObject *args, PyObject
return NULL;
}
{
_arg1 = &temp0;
if (! wxColour_helper(_obj1, &_arg1))
return NULL;
_arg1 = _obj1;
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
_result = (bool )wxColour___ne__(_arg0,*_arg1);
_result = (bool )wxColour___ne__(_arg0,_arg1);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) return NULL;