Fixed a missing parameter in wxStyledTextCtrl::GetLastChild
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -426,7 +426,7 @@ public:
|
|||||||
int DocLineFromVisible(int displayLine);
|
int DocLineFromVisible(int displayLine);
|
||||||
int SetFoldLevel(int line, int level);
|
int SetFoldLevel(int line, int level);
|
||||||
int GetFoldLevel(int line);
|
int GetFoldLevel(int line);
|
||||||
int GetLastChild(int line);
|
int GetLastChild(int line, int level);
|
||||||
int GetFoldParent(int line);
|
int GetFoldParent(int line);
|
||||||
void ShowLines(int lineStart, int lineEnd);
|
void ShowLines(int lineStart, int lineEnd);
|
||||||
void HideLines(int lineStart, int lineEnd);
|
void HideLines(int lineStart, int lineEnd);
|
||||||
|
@@ -1176,8 +1176,8 @@ int wxStyledTextCtrl::GetFoldLevel(int line) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int wxStyledTextCtrl::GetLastChild(int line) {
|
int wxStyledTextCtrl::GetLastChild(int line, int level) {
|
||||||
return SendMsg(SCI_GETLASTCHILD, line);
|
return SendMsg(SCI_GETLASTCHILD, line, level);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -426,7 +426,7 @@ public:
|
|||||||
int DocLineFromVisible(int displayLine);
|
int DocLineFromVisible(int displayLine);
|
||||||
int SetFoldLevel(int line, int level);
|
int SetFoldLevel(int line, int level);
|
||||||
int GetFoldLevel(int line);
|
int GetFoldLevel(int line);
|
||||||
int GetLastChild(int line);
|
int GetLastChild(int line, int level);
|
||||||
int GetFoldParent(int line);
|
int GetFoldParent(int line);
|
||||||
void ShowLines(int lineStart, int lineEnd);
|
void ShowLines(int lineStart, int lineEnd);
|
||||||
void HideLines(int lineStart, int lineEnd);
|
void HideLines(int lineStart, int lineEnd);
|
||||||
|
@@ -1176,8 +1176,8 @@ int wxStyledTextCtrl::GetFoldLevel(int line) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int wxStyledTextCtrl::GetLastChild(int line) {
|
int wxStyledTextCtrl::GetLastChild(int line, int level) {
|
||||||
return SendMsg(SCI_GETLASTCHILD, line);
|
return SendMsg(SCI_GETLASTCHILD, line, level);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -4844,17 +4844,18 @@ static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *a
|
|||||||
return _resultobj;
|
return _resultobj;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0))
|
#define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1))
|
||||||
static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
int _result;
|
int _result;
|
||||||
wxStyledTextCtrl * _arg0;
|
wxStyledTextCtrl * _arg0;
|
||||||
int _arg1;
|
int _arg1;
|
||||||
|
int _arg2;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
char *_kwnames[] = { "self","line", NULL };
|
char *_kwnames[] = { "self","line","level", NULL };
|
||||||
|
|
||||||
self = self;
|
self = self;
|
||||||
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1))
|
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2))
|
||||||
return NULL;
|
return NULL;
|
||||||
if (_argo0) {
|
if (_argo0) {
|
||||||
if (_argo0 == Py_None) { _arg0 = NULL; }
|
if (_argo0 == Py_None) { _arg0 = NULL; }
|
||||||
@@ -4865,7 +4866,7 @@ static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *a
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
wxPy_BEGIN_ALLOW_THREADS;
|
wxPy_BEGIN_ALLOW_THREADS;
|
||||||
_result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1);
|
_result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2);
|
||||||
|
|
||||||
wxPy_END_ALLOW_THREADS;
|
wxPy_END_ALLOW_THREADS;
|
||||||
} _resultobj = Py_BuildValue("i",_result);
|
} _resultobj = Py_BuildValue("i",_result);
|
||||||
|
Reference in New Issue
Block a user