X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a2fa5c83a1d15551c8523001b7e780633cfac91..6ff1cefa2248168e8c51decaf47cf67b3ac9761e:/wxPython/contrib/stc/mac/stc_.py diff --git a/wxPython/contrib/stc/mac/stc_.py b/wxPython/contrib/stc/mac/stc_.py index 43305a876e..a595013462 100644 --- a/wxPython/contrib/stc/mac/stc_.py +++ b/wxPython/contrib/stc/mac/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): @@ -1062,8 +1068,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,)