reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,8 +24,8 @@ class Panel(core.Window):
|
||||
|
||||
def Create(*args, **kwargs):
|
||||
"""
|
||||
Create(Window parent, int id, Point pos=DefaultPosition, Size size=DefaultSize,
|
||||
long style=wxTAB_TRAVERSAL|wxNO_BORDER,
|
||||
Create(Window parent, int id=-1, Point pos=DefaultPosition,
|
||||
Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER,
|
||||
String name=PanelNameStr) -> bool
|
||||
|
||||
Create the GUI part of the Window for 2-phase creation mode.
|
||||
|
@@ -1378,7 +1378,7 @@ static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kw
|
||||
PyObject *resultobj;
|
||||
wxPanel *arg1 = (wxPanel *) 0 ;
|
||||
wxWindow *arg2 = (wxWindow *) 0 ;
|
||||
int arg3 ;
|
||||
int arg3 = (int) (int)-1 ;
|
||||
wxPoint const &arg4_defvalue = wxDefaultPosition ;
|
||||
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
|
||||
wxSize const &arg5_defvalue = wxDefaultSize ;
|
||||
@@ -1401,13 +1401,15 @@ static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kw
|
||||
(char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
|
||||
};
|
||||
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
|
||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
|
||||
if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPanel,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
|
||||
SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
|
||||
arg3 = (int const) SWIG_AsInt(obj2);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
if (obj2) {
|
||||
arg3 = (int const) SWIG_AsInt(obj2);
|
||||
if (PyErr_Occurred()) SWIG_fail;
|
||||
}
|
||||
if (obj3) {
|
||||
{
|
||||
arg4 = &temp4;
|
||||
|
Reference in New Issue
Block a user