X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70b76c7ccd36a372db8a97b525d341ccfbcaa130..6d6da89ccb7a6aae5cfefe66147a7055ab0854d6:/wxPython/src/mac/windows.py diff --git a/wxPython/src/mac/windows.py b/wxPython/src/mac/windows.py index 1803ef9da0..1e1bc569d3 100644 --- a/wxPython/src/mac/windows.py +++ b/wxPython/src/mac/windows.py @@ -362,6 +362,9 @@ class wxWindowPtr(wxEvtHandlerPtr): def RefreshRect(self, *_args, **_kwargs): val = apply(windowsc.wxWindow_RefreshRect,(self,) + _args, _kwargs) return val + def AddChild(self, *_args, **_kwargs): + val = apply(windowsc.wxWindow_AddChild,(self,) + _args, _kwargs) + return val def RemoveChild(self, *_args, **_kwargs): val = apply(windowsc.wxWindow_RemoveChild,(self,) + _args, _kwargs) return val @@ -460,6 +463,10 @@ class wxWindowPtr(wxEvtHandlerPtr): def SetCursor(self, *_args, **_kwargs): val = apply(windowsc.wxWindow_SetCursor,(self,) + _args, _kwargs) return val + def GetCursor(self, *_args, **_kwargs): + val = apply(windowsc.wxWindow_GetCursor,(self,) + _args, _kwargs) + if val: val = wxCursorPtr(val) + return val def SetEventHandler(self, *_args, **_kwargs): val = apply(windowsc.wxWindow_SetEventHandler,(self,) + _args, _kwargs) return val @@ -1105,6 +1112,18 @@ class wxMenuItem(wxMenuItemPtr): #-------------- FUNCTION WRAPPERS ------------------ +def wxFindWindowById(*_args, **_kwargs): + val = apply(windowsc.wxFindWindowById,_args,_kwargs) + return val + +def wxFindWindowByName(*_args, **_kwargs): + val = apply(windowsc.wxFindWindowByName,_args,_kwargs) + return val + +def wxFindWindowByLabel(*_args, **_kwargs): + val = apply(windowsc.wxFindWindowByLabel,_args,_kwargs) + return val + wxValidator_IsSilent = windowsc.wxValidator_IsSilent wxValidator_SetBellOnError = windowsc.wxValidator_SetBellOnError