Added ScrollToLine and ScrollToColumn which were forgotten in the

conversion to the new STC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-10-10 22:46:29 +00:00
parent 5dacdafd9c
commit cccb6b65cb
10 changed files with 147 additions and 3 deletions

View File

@@ -762,6 +762,12 @@ class wxStyledTextCtrlPtr(wxControlPtr):
val = apply(stc_c.wxStyledTextCtrl_PointFromPosition,(self,) + _args, _kwargs)
if val: val = wxPointPtr(val) ; val.thisown = 1
return val
def ScrollToLine(self, *_args, **_kwargs):
val = apply(stc_c.wxStyledTextCtrl_ScrollToLine,(self,) + _args, _kwargs)
return val
def ScrollToColumn(self, *_args, **_kwargs):
val = apply(stc_c.wxStyledTextCtrl_ScrollToColumn,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxStyledTextCtrl instance at %s>" % (self.this,)
class wxStyledTextCtrl(wxStyledTextCtrlPtr):