Prep for wxPython 2.1b3 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,17 +127,18 @@ static char* wxStringErrorMsg = "string type is required for parameter";
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = (wxWindow *) NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "label","parent", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|O:wxFindWindowByLabel",&_obj0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -172,17 +173,18 @@ static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxString * _arg0;
|
||||
wxWindow * _arg1 = (wxWindow *) NULL;
|
||||
PyObject * _obj0 = 0;
|
||||
PyObject * _argo1 = 0;
|
||||
char *_kwnames[] = { "name","parent", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O|O:wxFindWindowByName",&_obj0,&_argo1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -217,13 +219,14 @@ static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
bool _arg0;
|
||||
int tempbool0;
|
||||
char *_kwnames[] = { "flag", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"i:wxToolTip_Enable",&tempbool0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
|
||||
return NULL;
|
||||
_arg0 = (bool ) tempbool0;
|
||||
{
|
||||
@@ -236,12 +239,13 @@ static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args) {
|
||||
return _resultobj;
|
||||
}
|
||||
|
||||
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
long _arg0;
|
||||
char *_kwnames[] = { "milliseconds", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"l:wxToolTip_SetDelay",&_arg0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
|
||||
return NULL;
|
||||
{
|
||||
wxPy_BEGIN_ALLOW_THREADS;
|
||||
@@ -254,15 +258,16 @@ static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
|
||||
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _result;
|
||||
wxString * _arg0;
|
||||
PyObject * _obj0 = 0;
|
||||
char *_kwnames[] = { "tip", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:new_wxToolTip",&_obj0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
|
||||
return NULL;
|
||||
{
|
||||
if (!PyString_Check(_obj0)) {
|
||||
@@ -291,15 +296,16 @@ static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
|
||||
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxToolTip * _arg0;
|
||||
wxString * _arg1;
|
||||
PyObject * _argo0 = 0;
|
||||
PyObject * _obj1 = 0;
|
||||
char *_kwnames[] = { "self","tip", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"OO:wxToolTip_SetTip",&_argo0,&_obj1))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -330,14 +336,15 @@ static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
|
||||
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxString * _result;
|
||||
wxToolTip * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxToolTip_GetTip",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -361,15 +368,16 @@ static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
|
||||
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) {
|
||||
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||
PyObject * _resultobj;
|
||||
wxWindow * _result;
|
||||
wxToolTip * _arg0;
|
||||
PyObject * _argo0 = 0;
|
||||
char *_kwnames[] = { "self", NULL };
|
||||
char _ptemp[128];
|
||||
|
||||
self = self;
|
||||
if(!PyArg_ParseTuple(args,"O:wxToolTip_GetWindow",&_argo0))
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
|
||||
return NULL;
|
||||
if (_argo0) {
|
||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||
@@ -394,14 +402,14 @@ static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args) {
|
||||
}
|
||||
|
||||
static PyMethodDef misc2cMethods[] = {
|
||||
{ "wxToolTip_GetWindow", _wrap_wxToolTip_GetWindow, METH_VARARGS },
|
||||
{ "wxToolTip_GetTip", _wrap_wxToolTip_GetTip, METH_VARARGS },
|
||||
{ "wxToolTip_SetTip", _wrap_wxToolTip_SetTip, METH_VARARGS },
|
||||
{ "new_wxToolTip", _wrap_new_wxToolTip, METH_VARARGS },
|
||||
{ "wxToolTip_SetDelay", _wrap_wxToolTip_SetDelay, METH_VARARGS },
|
||||
{ "wxToolTip_Enable", _wrap_wxToolTip_Enable, METH_VARARGS },
|
||||
{ "wxFindWindowByName", _wrap_wxFindWindowByName, METH_VARARGS },
|
||||
{ "wxFindWindowByLabel", _wrap_wxFindWindowByLabel, METH_VARARGS },
|
||||
{ "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
|
||||
{ "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user