SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3671,8 +3671,9 @@ static PyObject *_wrap_wxColour_Get(PyObject *self, PyObject *args, PyObject *kw
|
|||||||
static bool wxColour___eq__(wxColour *self,PyObject * obj) {
|
static bool wxColour___eq__(wxColour *self,PyObject * obj) {
|
||||||
wxColour tmp;
|
wxColour tmp;
|
||||||
wxColour* ptr = &tmp;
|
wxColour* ptr = &tmp;
|
||||||
if (obj == Py_None) return FALSE;
|
if (obj == Py_None) return FALSE;
|
||||||
if (! wxColour_helper(obj, &ptr)) return FALSE;
|
wxPyBLOCK_THREADS(bool success = wxColour_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return FALSE;
|
||||||
return *self == *ptr;
|
return *self == *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxColour___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxColour___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -3709,8 +3710,9 @@ static PyObject *_wrap_wxColour___eq__(PyObject *self, PyObject *args, PyObject
|
|||||||
static bool wxColour___ne__(wxColour *self,PyObject * obj) {
|
static bool wxColour___ne__(wxColour *self,PyObject * obj) {
|
||||||
wxColour tmp;
|
wxColour tmp;
|
||||||
wxColour* ptr = &tmp;
|
wxColour* ptr = &tmp;
|
||||||
if (obj == Py_None) return TRUE;
|
if (obj == Py_None) return TRUE;
|
||||||
if (! wxColour_helper(obj, &ptr)) return TRUE;
|
wxPyBLOCK_THREADS(bool success = wxColour_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return TRUE;
|
||||||
return *self != *ptr;
|
return *self != *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxColour___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxColour___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
@@ -326,7 +326,7 @@ class wxColourPtr(wxObjectPtr):
|
|||||||
return "<C wxColour instance at %s>" % (self.this,)
|
return "<C wxColour instance at %s>" % (self.this,)
|
||||||
asTuple = Get
|
asTuple = Get
|
||||||
def __str__(self): return str(self.asTuple())
|
def __str__(self): return str(self.asTuple())
|
||||||
def __repr__(self): return 'wxColour: ' + str(self.asTuple())
|
def __repr__(self): return 'wxColour:' + str(self.asTuple())
|
||||||
def __nonzero__(self): return self.Ok()
|
def __nonzero__(self): return self.Ok()
|
||||||
def __getinitargs__(self): return ()
|
def __getinitargs__(self): return ()
|
||||||
def __getstate__(self): return self.asTuple()
|
def __getstate__(self): return self.asTuple()
|
||||||
|
@@ -1371,8 +1371,9 @@ static PyObject *_wrap_wxSize_asTuple(PyObject *self, PyObject *args, PyObject *
|
|||||||
static bool wxSize___eq__(wxSize *self,PyObject * obj) {
|
static bool wxSize___eq__(wxSize *self,PyObject * obj) {
|
||||||
wxSize tmp;
|
wxSize tmp;
|
||||||
wxSize* ptr = &tmp;
|
wxSize* ptr = &tmp;
|
||||||
if (obj == Py_None) return FALSE;
|
if (obj == Py_None) return FALSE;
|
||||||
if (! wxSize_helper(obj, &ptr)) return FALSE;
|
wxPyBLOCK_THREADS(bool success = wxSize_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return FALSE;
|
||||||
return *self == *ptr;
|
return *self == *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxSize___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxSize___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -1409,8 +1410,9 @@ static PyObject *_wrap_wxSize___eq__(PyObject *self, PyObject *args, PyObject *k
|
|||||||
static bool wxSize___ne__(wxSize *self,PyObject * obj) {
|
static bool wxSize___ne__(wxSize *self,PyObject * obj) {
|
||||||
wxSize tmp;
|
wxSize tmp;
|
||||||
wxSize* ptr = &tmp;
|
wxSize* ptr = &tmp;
|
||||||
if (obj == Py_None) return TRUE;
|
if (obj == Py_None) return TRUE;
|
||||||
if (! wxSize_helper(obj, &ptr)) return TRUE;
|
wxPyBLOCK_THREADS(bool success = wxSize_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return TRUE;
|
||||||
return *self != *ptr;
|
return *self != *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxSize___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxSize___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -1758,8 +1760,9 @@ static PyObject *_wrap_wxRealPoint___sub__(PyObject *self, PyObject *args, PyObj
|
|||||||
static bool wxRealPoint___eq__(wxRealPoint *self,PyObject * obj) {
|
static bool wxRealPoint___eq__(wxRealPoint *self,PyObject * obj) {
|
||||||
wxRealPoint tmp;
|
wxRealPoint tmp;
|
||||||
wxRealPoint* ptr = &tmp;
|
wxRealPoint* ptr = &tmp;
|
||||||
if (obj == Py_None) return FALSE;
|
if (obj == Py_None) return FALSE;
|
||||||
if (! wxRealPoint_helper(obj, &ptr)) return FALSE;
|
wxPyBLOCK_THREADS(bool success = wxRealPoint_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return FALSE;
|
||||||
return *self == *ptr;
|
return *self == *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxRealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -1796,8 +1799,9 @@ static PyObject *_wrap_wxRealPoint___eq__(PyObject *self, PyObject *args, PyObje
|
|||||||
static bool wxRealPoint___ne__(wxRealPoint *self,PyObject * obj) {
|
static bool wxRealPoint___ne__(wxRealPoint *self,PyObject * obj) {
|
||||||
wxRealPoint tmp;
|
wxRealPoint tmp;
|
||||||
wxRealPoint* ptr = &tmp;
|
wxRealPoint* ptr = &tmp;
|
||||||
if (obj == Py_None) return TRUE;
|
if (obj == Py_None) return TRUE;
|
||||||
if (! wxRealPoint_helper(obj, &ptr)) return TRUE;
|
wxPyBLOCK_THREADS(bool success = wxRealPoint_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return TRUE;
|
||||||
return *self != *ptr;
|
return *self != *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxRealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -2145,8 +2149,9 @@ static PyObject *_wrap_wxPoint___sub__(PyObject *self, PyObject *args, PyObject
|
|||||||
static bool wxPoint___eq__(wxPoint *self,PyObject * obj) {
|
static bool wxPoint___eq__(wxPoint *self,PyObject * obj) {
|
||||||
wxPoint tmp;
|
wxPoint tmp;
|
||||||
wxPoint* ptr = &tmp;
|
wxPoint* ptr = &tmp;
|
||||||
if (obj == Py_None) return FALSE;
|
if (obj == Py_None) return FALSE;
|
||||||
if (! wxPoint_helper(obj, &ptr)) return FALSE;
|
wxPyBLOCK_THREADS(bool success = wxPoint_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return FALSE;
|
||||||
return *self == *ptr;
|
return *self == *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -2183,8 +2188,9 @@ static PyObject *_wrap_wxPoint___eq__(PyObject *self, PyObject *args, PyObject *
|
|||||||
static bool wxPoint___ne__(wxPoint *self,PyObject * obj) {
|
static bool wxPoint___ne__(wxPoint *self,PyObject * obj) {
|
||||||
wxPoint tmp;
|
wxPoint tmp;
|
||||||
wxPoint* ptr = &tmp;
|
wxPoint* ptr = &tmp;
|
||||||
if (obj == Py_None) return TRUE;
|
if (obj == Py_None) return TRUE;
|
||||||
if (! wxPoint_helper(obj, &ptr)) return TRUE;
|
wxPyBLOCK_THREADS(bool success = wxPoint_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return TRUE;
|
||||||
return *self != *ptr;
|
return *self != *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -3400,8 +3406,9 @@ static PyObject *_wrap_wxRect___add__(PyObject *self, PyObject *args, PyObject *
|
|||||||
static bool wxRect___eq__(wxRect *self,PyObject * obj) {
|
static bool wxRect___eq__(wxRect *self,PyObject * obj) {
|
||||||
wxRect tmp;
|
wxRect tmp;
|
||||||
wxRect* ptr = &tmp;
|
wxRect* ptr = &tmp;
|
||||||
if (obj == Py_None) return FALSE;
|
if (obj == Py_None) return FALSE;
|
||||||
if (! wxRect_helper(obj, &ptr)) return FALSE;
|
wxPyBLOCK_THREADS(bool success = wxRect_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return FALSE;
|
||||||
return *self == *ptr;
|
return *self == *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxRect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -3438,8 +3445,9 @@ static PyObject *_wrap_wxRect___eq__(PyObject *self, PyObject *args, PyObject *k
|
|||||||
static bool wxRect___ne__(wxRect *self,PyObject * obj) {
|
static bool wxRect___ne__(wxRect *self,PyObject * obj) {
|
||||||
wxRect tmp;
|
wxRect tmp;
|
||||||
wxRect* ptr = &tmp;
|
wxRect* ptr = &tmp;
|
||||||
if (obj == Py_None) return TRUE;
|
if (obj == Py_None) return TRUE;
|
||||||
if (! wxRect_helper(obj, &ptr)) return TRUE;
|
wxPyBLOCK_THREADS(bool success = wxRect_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return TRUE;
|
||||||
return *self != *ptr;
|
return *self != *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxRect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxRect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -4259,8 +4267,9 @@ static PyObject *_wrap_wxPoint2DDouble___idiv__(PyObject *self, PyObject *args,
|
|||||||
static bool wxPoint2DDouble___eq__(wxPoint2DDouble *self,PyObject * obj) {
|
static bool wxPoint2DDouble___eq__(wxPoint2DDouble *self,PyObject * obj) {
|
||||||
wxPoint2DDouble tmp;
|
wxPoint2DDouble tmp;
|
||||||
wxPoint2DDouble* ptr = &tmp;
|
wxPoint2DDouble* ptr = &tmp;
|
||||||
if (obj == Py_None) return FALSE;
|
if (obj == Py_None) return FALSE;
|
||||||
if (! wxPoint2DDouble_helper(obj, &ptr)) return FALSE;
|
wxPyBLOCK_THREADS(bool success = wxPoint2DDouble_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return FALSE;
|
||||||
return *self == *ptr;
|
return *self == *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxPoint2DDouble___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxPoint2DDouble___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
@@ -4297,8 +4306,9 @@ static PyObject *_wrap_wxPoint2DDouble___eq__(PyObject *self, PyObject *args, Py
|
|||||||
static bool wxPoint2DDouble___ne__(wxPoint2DDouble *self,PyObject * obj) {
|
static bool wxPoint2DDouble___ne__(wxPoint2DDouble *self,PyObject * obj) {
|
||||||
wxPoint2DDouble tmp;
|
wxPoint2DDouble tmp;
|
||||||
wxPoint2DDouble* ptr = &tmp;
|
wxPoint2DDouble* ptr = &tmp;
|
||||||
if (obj == Py_None) return TRUE;
|
if (obj == Py_None) return TRUE;
|
||||||
if (! wxPoint2DDouble_helper(obj, &ptr)) return TRUE;
|
wxPyBLOCK_THREADS(bool success = wxPoint2DDouble_helper(obj, &ptr); PyErr_Clear());
|
||||||
|
if (! success) return TRUE;
|
||||||
return *self != *ptr;
|
return *self != *ptr;
|
||||||
}
|
}
|
||||||
static PyObject *_wrap_wxPoint2DDouble___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxPoint2DDouble___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
|
Reference in New Issue
Block a user