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)
|
||||
|
||||
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)
|
||||
|
||||
def RemoveBrush(*args, **kwargs):
|
||||
|
@@ -19608,7 +19608,7 @@ static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, P
|
||||
PyObject *resultobj;
|
||||
wxBrushList *arg1 = (wxBrushList *) 0 ;
|
||||
wxColour *arg2 = 0 ;
|
||||
int arg3 ;
|
||||
int arg3 = (int) wxSOLID ;
|
||||
wxBrush *result;
|
||||
wxColour temp2 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
@@ -19618,17 +19618,19 @@ static PyObject *_wrap_BrushList_FindOrCreateBrush(PyObject *, PyObject *args, P
|
||||
(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);
|
||||
if (SWIG_arg_fail(1)) SWIG_fail;
|
||||
{
|
||||
arg2 = &temp2;
|
||||
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
|
||||
}
|
||||
if (obj2) {
|
||||
{
|
||||
arg3 = (int)(SWIG_As_int(obj2));
|
||||
if (SWIG_arg_fail(3)) SWIG_fail;
|
||||
}
|
||||
}
|
||||
{
|
||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||
result = (wxBrush *)(arg1)->FindOrCreateBrush((wxColour const &)*arg2,arg3);
|
||||
|
Reference in New Issue
Block a user