reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-12-02 05:00:26 +00:00
parent cf0d4bfc63
commit 723282b61d
6 changed files with 30 additions and 24 deletions

View File

@ -6548,17 +6548,17 @@ class RendererNative(object):
def DrawHeaderButton(*args, **kwargs):
"""
DrawHeaderButton(self, Window win, DC dc, Rect rect, int flags=0, int sortArrow=HDR_SORT_ICON_NONE,
HeaderButtonParams params=None)
HeaderButtonParams params=None) -> int
Draw the header control button (such as what is used by `wx.ListCtrl`
in report mode.)
Draw a header control button (such as what is used by `wx.ListCtrl` in report
mode.) The optimal size of the label (text and icons) is returned.
"""
return _gdi_.RendererNative_DrawHeaderButton(*args, **kwargs)
def DrawHeaderButtonContents(*args, **kwargs):
"""
DrawHeaderButtonContents(self, Window win, DC dc, Rect rect, int flags=0, int sortArrow=HDR_SORT_ICON_NONE,
HeaderButtonParams params=None)
HeaderButtonParams params=None) -> int
Draw the contents of a header control button, (label, sort
arrows, etc.) Normally this is only called by `DrawHeaderButton`.

View File

@ -33987,6 +33987,7 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *SWIGUNUSEDP
int arg5 = (int) 0 ;
wxHeaderSortIconType arg6 = (wxHeaderSortIconType) wxHDR_SORT_ICON_NONE ;
wxHeaderButtonParams *arg7 = (wxHeaderButtonParams *) NULL ;
int result;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
@ -34057,11 +34058,11 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *SWIGUNUSEDP
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
result = (int)(arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
@ -34077,6 +34078,7 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButtonContents(PyObject *SWI
int arg5 = (int) 0 ;
wxHeaderSortIconType arg6 = (wxHeaderSortIconType) wxHDR_SORT_ICON_NONE ;
wxHeaderButtonParams *arg7 = (wxHeaderButtonParams *) NULL ;
int result;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
@ -34147,11 +34149,11 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButtonContents(PyObject *SWI
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawHeaderButtonContents(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
result = (int)(arg1)->DrawHeaderButtonContents(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;

View File

@ -6575,17 +6575,17 @@ class RendererNative(object):
def DrawHeaderButton(*args, **kwargs):
"""
DrawHeaderButton(self, Window win, DC dc, Rect rect, int flags=0, int sortArrow=HDR_SORT_ICON_NONE,
HeaderButtonParams params=None)
HeaderButtonParams params=None) -> int
Draw the header control button (such as what is used by `wx.ListCtrl`
in report mode.)
Draw a header control button (such as what is used by `wx.ListCtrl` in report
mode.) The optimal size of the label (text and icons) is returned.
"""
return _gdi_.RendererNative_DrawHeaderButton(*args, **kwargs)
def DrawHeaderButtonContents(*args, **kwargs):
"""
DrawHeaderButtonContents(self, Window win, DC dc, Rect rect, int flags=0, int sortArrow=HDR_SORT_ICON_NONE,
HeaderButtonParams params=None)
HeaderButtonParams params=None) -> int
Draw the contents of a header control button, (label, sort
arrows, etc.) Normally this is only called by `DrawHeaderButton`.

View File

@ -34196,6 +34196,7 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *SWIGUNUSEDP
int arg5 = (int) 0 ;
wxHeaderSortIconType arg6 = (wxHeaderSortIconType) wxHDR_SORT_ICON_NONE ;
wxHeaderButtonParams *arg7 = (wxHeaderButtonParams *) NULL ;
int result;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
@ -34266,11 +34267,11 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *SWIGUNUSEDP
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
result = (int)(arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
@ -34286,6 +34287,7 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButtonContents(PyObject *SWI
int arg5 = (int) 0 ;
wxHeaderSortIconType arg6 = (wxHeaderSortIconType) wxHDR_SORT_ICON_NONE ;
wxHeaderButtonParams *arg7 = (wxHeaderButtonParams *) NULL ;
int result;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
@ -34356,11 +34358,11 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButtonContents(PyObject *SWI
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawHeaderButtonContents(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
result = (int)(arg1)->DrawHeaderButtonContents(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;

View File

@ -6673,17 +6673,17 @@ class RendererNative(object):
def DrawHeaderButton(*args, **kwargs):
"""
DrawHeaderButton(self, Window win, DC dc, Rect rect, int flags=0, int sortArrow=HDR_SORT_ICON_NONE,
HeaderButtonParams params=None)
HeaderButtonParams params=None) -> int
Draw the header control button (such as what is used by `wx.ListCtrl`
in report mode.)
Draw a header control button (such as what is used by `wx.ListCtrl` in report
mode.) The optimal size of the label (text and icons) is returned.
"""
return _gdi_.RendererNative_DrawHeaderButton(*args, **kwargs)
def DrawHeaderButtonContents(*args, **kwargs):
"""
DrawHeaderButtonContents(self, Window win, DC dc, Rect rect, int flags=0, int sortArrow=HDR_SORT_ICON_NONE,
HeaderButtonParams params=None)
HeaderButtonParams params=None) -> int
Draw the contents of a header control button, (label, sort
arrows, etc.) Normally this is only called by `DrawHeaderButton`.

View File

@ -34936,6 +34936,7 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *SWIGUNUSEDP
int arg5 = (int) 0 ;
wxHeaderSortIconType arg6 = (wxHeaderSortIconType) wxHDR_SORT_ICON_NONE ;
wxHeaderButtonParams *arg7 = (wxHeaderButtonParams *) NULL ;
int result;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
@ -35006,11 +35007,11 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButton(PyObject *SWIGUNUSEDP
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
result = (int)(arg1)->DrawHeaderButton(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;
@ -35026,6 +35027,7 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButtonContents(PyObject *SWI
int arg5 = (int) 0 ;
wxHeaderSortIconType arg6 = (wxHeaderSortIconType) wxHDR_SORT_ICON_NONE ;
wxHeaderButtonParams *arg7 = (wxHeaderButtonParams *) NULL ;
int result;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
@ -35096,11 +35098,11 @@ SWIGINTERN PyObject *_wrap_RendererNative_DrawHeaderButtonContents(PyObject *SWI
}
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
(arg1)->DrawHeaderButtonContents(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
result = (int)(arg1)->DrawHeaderButtonContents(arg2,*arg3,(wxRect const &)*arg4,arg5,arg6,arg7);
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;
}
resultobj = SWIG_Py_Void();
resultobj = SWIG_From_int(static_cast< int >(result));
return resultobj;
fail:
return NULL;