X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e1f6ec48a789a506abd03e8ea1c9fe82122251b..b9ac87bc5cbe46227195e32c44e25831f8206e3c:/wxPython/src/mac/wizard.py?ds=inline diff --git a/wxPython/src/mac/wizard.py b/wxPython/src/mac/wizard.py index 959bc00345..391048f193 100644 --- a/wxPython/src/mac/wizard.py +++ b/wxPython/src/mac/wizard.py @@ -42,7 +42,6 @@ class wxWizardEventPtr(wxNotifyEventPtr): return val def GetPage(self, *_args, **_kwargs): val = apply(wizardc.wxWizardEvent_GetPage,(self,) + _args, _kwargs) - if val: val = wxWizardPagePtr(val) return val def __repr__(self): return "" % (self.this,) @@ -61,16 +60,11 @@ class wxWizardPagePtr(wxPanelPtr): def Create(self, *_args, **_kwargs): val = apply(wizardc.wxWizardPage_Create,(self,) + _args, _kwargs) return val - def Init(self, *_args, **_kwargs): - val = apply(wizardc.wxWizardPage_Init,(self,) + _args, _kwargs) - return val def GetPrev(self, *_args, **_kwargs): val = apply(wizardc.wxWizardPage_GetPrev,(self,) + _args, _kwargs) - if val: val = wxWizardPagePtr(val) return val def GetNext(self, *_args, **_kwargs): val = apply(wizardc.wxWizardPage_GetNext,(self,) + _args, _kwargs) - if val: val = wxWizardPagePtr(val) return val def GetBitmap(self, *_args, **_kwargs): val = apply(wizardc.wxWizardPage_GetBitmap,(self,) + _args, _kwargs) @@ -177,9 +171,6 @@ class wxWizardPageSimplePtr(wxWizardPagePtr): def Create(self, *_args, **_kwargs): val = apply(wizardc.wxWizardPageSimple_Create,(self,) + _args, _kwargs) return val - def Init(self, *_args, **_kwargs): - val = apply(wizardc.wxWizardPageSimple_Init,(self,) + _args, _kwargs) - return val def SetPrev(self, *_args, **_kwargs): val = apply(wizardc.wxWizardPageSimple_SetPrev,(self,) + _args, _kwargs) return val @@ -218,7 +209,6 @@ class wxWizardPtr(wxDialogPtr): return val def GetCurrentPage(self, *_args, **_kwargs): val = apply(wizardc.wxWizard_GetCurrentPage,(self,) + _args, _kwargs) - if val: val = wxWizardPagePtr(val) return val def SetPageSize(self, *_args, **_kwargs): val = apply(wizardc.wxWizard_SetPageSize,(self,) + _args, _kwargs)