]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/windows.py
applied SourceForge patch # 544164 (hidden virtual method in wxMenuBar)
[wxWidgets.git] / wxPython / src / mac / windows.py
index 1803ef9da0f2b4cc5695cbb96ba6568fb52ca934..1e1bc569d3a42d639fbf4d99e5fd4c733ed02792 100644 (file)
@@ -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