reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-07-29 23:05:38 +00:00
parent 14a010678d
commit 10044bf187
38 changed files with 10507 additions and 1041 deletions

View File

@@ -2625,21 +2625,20 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags)
#define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
#define SWIGTYPE_p_wxToolbook swig_types[160]
#define SWIGTYPE_p_wxToolbookEvent swig_types[161]
#define SWIGTYPE_p_wxTreeCtrl swig_types[162]
#define SWIGTYPE_p_wxTreeEvent swig_types[163]
#define SWIGTYPE_p_wxTreeItemId swig_types[164]
#define SWIGTYPE_p_wxTreebook swig_types[165]
#define SWIGTYPE_p_wxTreebookEvent swig_types[166]
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
#define SWIGTYPE_p_wxValidator swig_types[168]
#define SWIGTYPE_p_wxVisualAttributes swig_types[169]
#define SWIGTYPE_p_wxWindow swig_types[170]
#define SWIGTYPE_p_wxWindowBase swig_types[171]
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
#define SWIGTYPE_p_wxXPMHandler swig_types[174]
static swig_type_info *swig_types[176];
static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0};
#define SWIGTYPE_p_wxTreeEvent swig_types[162]
#define SWIGTYPE_p_wxTreeItemId swig_types[163]
#define SWIGTYPE_p_wxTreebook swig_types[164]
#define SWIGTYPE_p_wxTreebookEvent swig_types[165]
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
#define SWIGTYPE_p_wxValidator swig_types[167]
#define SWIGTYPE_p_wxVisualAttributes swig_types[168]
#define SWIGTYPE_p_wxWindow swig_types[169]
#define SWIGTYPE_p_wxWindowBase swig_types[170]
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[171]
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[172]
#define SWIGTYPE_p_wxXPMHandler swig_types[173]
static swig_type_info *swig_types[175];
static swig_module_info swig_module = {swig_types, 174, 0, 0, 0, 0};
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
@@ -22102,7 +22101,7 @@ fail:
SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxTreebook *arg1 = (wxTreebook *) 0 ;
wxTreeCtrl *result = 0 ;
wxPyTreeCtrl *result = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
@@ -22116,11 +22115,13 @@ SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self),
arg1 = reinterpret_cast< wxTreebook * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
{
resultobj = wxPyMake_wxObject(result, (bool)0);
}
return resultobj;
fail:
return NULL;
@@ -42540,6 +42541,72 @@ fail:
}
SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
PyObject *resultobj = 0;
wxPickerBase *arg1 = (wxPickerBase *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
int val2 ;
int ecode2 = 0 ;
PyObject * obj0 = 0 ;
PyObject * obj1 = 0 ;
char * kwnames[] = {
(char *) "self",(char *) "prop", NULL
};
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
}
arg1 = reinterpret_cast< wxPickerBase * >(argp1);
ecode2 = SWIG_AsVal_int(obj1, &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
}
arg2 = static_cast< int >(val2);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->SetPickerCtrlProportion(arg2);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxPickerBase *arg1 = (wxPickerBase *) 0 ;
int result;
void *argp1 = 0 ;
int res1 = 0 ;
PyObject *swig_obj[1] ;
if (!args) SWIG_fail;
swig_obj[0] = args;
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
}
arg1 = reinterpret_cast< wxPickerBase * >(argp1);
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
}
SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
PyObject *resultobj = 0;
wxPickerBase *arg1 = (wxPickerBase *) 0 ;
@@ -46076,6 +46143,8 @@ static PyMethodDef SwigMethods[] = {
{ (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
{ (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
{ (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
{ (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
{ (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
{ (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
@@ -47490,7 +47559,6 @@ static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarB
static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
@@ -47663,7 +47731,6 @@ static swig_type_info *swig_type_initial[] = {
&_swigt__p_wxToolBarToolBase,
&_swigt__p_wxToolbook,
&_swigt__p_wxToolbookEvent,
&_swigt__p_wxTreeCtrl,
&_swigt__p_wxTreeEvent,
&_swigt__p_wxTreeItemId,
&_swigt__p_wxTreebook,
@@ -47844,7 +47911,6 @@ static swig_cast_info _swigc__p_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase,
static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
@@ -48017,7 +48083,6 @@ static swig_cast_info *swig_cast_initial[] = {
_swigc__p_wxToolBarToolBase,
_swigc__p_wxToolbook,
_swigc__p_wxToolbookEvent,
_swigc__p_wxTreeCtrl,
_swigc__p_wxTreeEvent,
_swigc__p_wxTreeItemId,
_swigc__p_wxTreebook,