X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4615b7253945fc04559204678a58d1f402ba9903..53663be8a5ea8e1c6f178839209b67e8228e4642:/wxPython/src/mac/windows2.py diff --git a/wxPython/src/mac/windows2.py b/wxPython/src/mac/windows2.py index 57b3e930be..9047cab0df 100644 --- a/wxPython/src/mac/windows2.py +++ b/wxPython/src/mac/windows2.py @@ -303,6 +303,12 @@ class wxPyWindowPtr(wxWindowPtr): val = apply(windows2c.wxPyWindow_base_GetMaxSize,(self,) + _args, _kwargs) if val: val = wxSizePtr(val) ; val.thisown = 1 return val + def base_AddChild(self, *_args, **_kwargs): + val = apply(windows2c.wxPyWindow_base_AddChild,(self,) + _args, _kwargs) + return val + def base_RemoveChild(self, *_args, **_kwargs): + val = apply(windows2c.wxPyWindow_base_RemoveChild,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxPyWindow(wxPyWindowPtr): @@ -373,6 +379,12 @@ class wxPyControlPtr(wxControlPtr): val = apply(windows2c.wxPyControl_base_GetMaxSize,(self,) + _args, _kwargs) if val: val = wxSizePtr(val) ; val.thisown = 1 return val + def base_AddChild(self, *_args, **_kwargs): + val = apply(windows2c.wxPyControl_base_AddChild,(self,) + _args, _kwargs) + return val + def base_RemoveChild(self, *_args, **_kwargs): + val = apply(windows2c.wxPyControl_base_RemoveChild,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxPyControl(wxPyControlPtr): @@ -443,6 +455,12 @@ class wxPyPanelPtr(wxPanelPtr): val = apply(windows2c.wxPyPanel_base_GetMaxSize,(self,) + _args, _kwargs) if val: val = wxSizePtr(val) ; val.thisown = 1 return val + def base_AddChild(self, *_args, **_kwargs): + val = apply(windows2c.wxPyPanel_base_AddChild,(self,) + _args, _kwargs) + return val + def base_RemoveChild(self, *_args, **_kwargs): + val = apply(windows2c.wxPyPanel_base_RemoveChild,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxPyPanel(wxPyPanelPtr):