X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00360d4699d23a01c1c62d5d1c128bd9739a239d..c81fd4b937cedd7c53715996200b9126e2756cbc:/wxPython/src/mac/controls.py?ds=sidebyside diff --git a/wxPython/src/mac/controls.py b/wxPython/src/mac/controls.py index 352bad5b83..4b766fec3a 100644 --- a/wxPython/src/mac/controls.py +++ b/wxPython/src/mac/controls.py @@ -7,6 +7,8 @@ from windows import * from gdi import * +from fonts import * + from clip_dnd import * from events import * @@ -81,6 +83,9 @@ class wxControlWithItemsPtr(wxControlPtr): def SetClientData(self, *_args, **_kwargs): val = apply(controlsc.wxControlWithItems_SetClientData,(self,) + _args, _kwargs) return val + def AppendItems(self, *_args, **_kwargs): + val = apply(controlsc.wxControlWithItems_AppendItems,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) Number = GetCount @@ -608,6 +613,9 @@ class wxTextCtrlPtr(wxControlPtr): def SetValue(self, *_args, **_kwargs): val = apply(controlsc.wxTextCtrl_SetValue,(self,) + _args, _kwargs) return val + def GetRange(self, *_args, **_kwargs): + val = apply(controlsc.wxTextCtrl_GetRange,(self,) + _args, _kwargs) + return val def GetLineLength(self, *_args, **_kwargs): val = apply(controlsc.wxTextCtrl_GetLineLength,(self,) + _args, _kwargs) return val @@ -656,6 +664,9 @@ class wxTextCtrlPtr(wxControlPtr): def AppendText(self, *_args, **_kwargs): val = apply(controlsc.wxTextCtrl_AppendText,(self,) + _args, _kwargs) return val + def EmulateKeyPress(self, *_args, **_kwargs): + val = apply(controlsc.wxTextCtrl_EmulateKeyPress,(self,) + _args, _kwargs) + return val def SetStyle(self, *_args, **_kwargs): val = apply(controlsc.wxTextCtrl_SetStyle,(self,) + _args, _kwargs) return val @@ -726,6 +737,12 @@ class wxTextCtrlPtr(wxControlPtr): def SetEditable(self, *_args, **_kwargs): val = apply(controlsc.wxTextCtrl_SetEditable,(self,) + _args, _kwargs) return val + def IsSingleLine(self, *_args, **_kwargs): + val = apply(controlsc.wxTextCtrl_IsSingleLine,(self,) + _args, _kwargs) + return val + def IsMultiLine(self, *_args, **_kwargs): + val = apply(controlsc.wxTextCtrl_IsMultiLine,(self,) + _args, _kwargs) + return val def write(self, *_args, **_kwargs): val = apply(controlsc.wxTextCtrl_write,(self,) + _args, _kwargs) return val