X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a6ff5640dc0c7c4153f494d311d7ab1d8b33947..fd657b8a5907c8584db84c85535ce281bdd65193:/wxPython/src/msw/wizard.py?ds=sidebyside diff --git a/wxPython/src/msw/wizard.py b/wxPython/src/msw/wizard.py index 3891696b44..845cdb939f 100644 --- a/wxPython/src/msw/wizard.py +++ b/wxPython/src/msw/wizard.py @@ -32,6 +32,9 @@ def EVT_WIZARD_CANCEL(win, id, func): def EVT_WIZARD_HELP(win, id, func): win.Connect(id, -1, wxEVT_WIZARD_HELP, func) +def EVT_WIZARD_FINISHED(win, id, func): + win.Connect(id, -1, wxEVT_WIZARD_FINISHED, func) + class wxWizardEventPtr(wxNotifyEventPtr): def __init__(self,this): @@ -60,9 +63,6 @@ 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) return val @@ -174,9 +174,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 @@ -232,6 +229,12 @@ class wxWizardPtr(wxDialogPtr): def ShowPage(self, *_args, **_kwargs): val = apply(wizardc.wxWizard_ShowPage,(self,) + _args, _kwargs) return val + def HasNextPage(self, *_args, **_kwargs): + val = apply(wizardc.wxWizard_HasNextPage,(self,) + _args, _kwargs) + return val + def HasPrevPage(self, *_args, **_kwargs): + val = apply(wizardc.wxWizard_HasPrevPage,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxWizard(wxWizardPtr): @@ -264,6 +267,7 @@ wxEVT_WIZARD_PAGE_CHANGED = wizardc.wxEVT_WIZARD_PAGE_CHANGED wxEVT_WIZARD_PAGE_CHANGING = wizardc.wxEVT_WIZARD_PAGE_CHANGING wxEVT_WIZARD_CANCEL = wizardc.wxEVT_WIZARD_CANCEL wxEVT_WIZARD_HELP = wizardc.wxEVT_WIZARD_HELP +wxEVT_WIZARD_FINISHED = wizardc.wxEVT_WIZARD_FINISHED #-------------- USER INCLUDE ----------------------- @@ -271,3 +275,7 @@ wxEVT_WIZARD_HELP = wizardc.wxEVT_WIZARD_HELP # Stuff these names into the wx namespace so wxPyConstructObject can find them import wx wx.wxWizardEventPtr = wxWizardEventPtr +wx.wxWizardPagePtr = wxWizardPagePtr +wx.wxPyWizardPagePtr = wxPyWizardPagePtr +wx.wxWizardPageSimplePtr = wxWizardPageSimplePtr +wx.wxWizardPtr = wxWizardPtr