X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89c8ea73d4bf1696f369b6c0273015d829fcfeb7..c74d8df09d0c0e182cb2063cc4cc546de3a00fae:/wxPython/contrib/stc/gtk/stc_.py diff --git a/wxPython/contrib/stc/gtk/stc_.py b/wxPython/contrib/stc/gtk/stc_.py index f2434e5541..3e45afeeaa 100644 --- a/wxPython/contrib/stc/gtk/stc_.py +++ b/wxPython/contrib/stc/gtk/stc_.py @@ -15,6 +15,8 @@ from events import * from streams import * +from utils import * + from mdi import * from frames import * @@ -39,8 +41,6 @@ from sizers import * from filesys import * -from utils import * - def EVT_STC_CHANGE(win, id, func): win.Connect(id, -1, wxEVT_STC_CHANGE, func) @@ -933,6 +933,12 @@ class wxStyledTextCtrlPtr(wxControlPtr): def SendMsg(self, *_args, **_kwargs): val = apply(stc_c.wxStyledTextCtrl_SendMsg,(self,) + _args, _kwargs) return val + def SetVScrollBar(self, *_args, **_kwargs): + val = apply(stc_c.wxStyledTextCtrl_SetVScrollBar,(self,) + _args, _kwargs) + return val + def SetHScrollBar(self, *_args, **_kwargs): + val = apply(stc_c.wxStyledTextCtrl_SetHScrollBar,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxStyledTextCtrl(wxStyledTextCtrlPtr): @@ -1080,8 +1086,9 @@ class wxStyledTextEventPtr(wxCommandEventPtr): def GetAlt(self, *_args, **_kwargs): val = apply(stc_c.wxStyledTextEvent_GetAlt,(self,) + _args, _kwargs) return val - def CopyObject(self, *_args, **_kwargs): - val = apply(stc_c.wxStyledTextEvent_CopyObject,(self,) + _args, _kwargs) + def Clone(self, *_args, **_kwargs): + val = apply(stc_c.wxStyledTextEvent_Clone,(self,) + _args, _kwargs) + if val: val = wxEventPtr(val) return val def __repr__(self): return "" % (self.this,)