reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -4589,7 +4589,7 @@ class BrushList(_core.Object):
|
|||||||
return _gdi_.BrushList_AddBrush(*args, **kwargs)
|
return _gdi_.BrushList_AddBrush(*args, **kwargs)
|
||||||
|
|
||||||
def FindOrCreateBrush(*args, **kwargs):
|
def FindOrCreateBrush(*args, **kwargs):
|
||||||
"""FindOrCreateBrush(self, Colour colour, int style) -> Brush"""
|
"""FindOrCreateBrush(self, Colour colour, int style=SOLID) -> Brush"""
|
||||||
return _gdi_.BrushList_FindOrCreateBrush(*args, **kwargs)
|
return _gdi_.BrushList_FindOrCreateBrush(*args, **kwargs)
|
||||||
|
|
||||||
def RemoveBrush(*args, **kwargs):
|
def RemoveBrush(*args, **kwargs):
|
||||||
|
@@ -19608,7 +19608,7 @@ static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, P
|
|||||||
PyObject *resultobj;
|
PyObject *resultobj;
|
||||||
wxBrushList *arg1 = (wxBrushList *) 0 ;
|
wxBrushList *arg1 = (wxBrushList *) 0 ;
|
||||||
wxColour *arg2 = 0 ;
|
wxColour *arg2 = 0 ;
|
||||||
int arg3 ;
|
int arg3 = (int) wxSOLID ;
|
||||||
wxBrush *result;
|
wxBrush *result;
|
||||||
wxColour temp2 ;
|
wxColour temp2 ;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
@@ -19618,16 +19618,18 @@ static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, P
|
|||||||
(char *) "self",(char *) "colour",(char *) "style", NULL
|
(char *) "self",(char *) "colour",(char *) "style", NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BrushList_FindOrCreateBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames,&obj0,&obj1,&obj2)) goto fail;
|
||||||
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
|
SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBrushList, SWIG_POINTER_EXCEPTION | 0);
|
||||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||||
{
|
{
|
||||||
arg2 = &temp2;
|
arg2 = &temp2;
|
||||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
||||||
}
|
}
|
||||||
{
|
if (obj2) {
|
||||||
arg3 = (int)(SWIG_As_int(obj2));
|
{
|
||||||
if (SWIG_arg_fail(3)) SWIG_fail;
|
arg3 = (int)(SWIG_As_int(obj2));
|
||||||
|
if (SWIG_arg_fail(3)) SWIG_fail;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
|
Reference in New Issue
Block a user