SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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):
|
||||
@@ -226,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 "<C wxWizard instance at %s>" % (self.this,)
|
||||
class wxWizard(wxWizardPtr):
|
||||
@@ -258,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 -----------------------
|
||||
@@ -265,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
|
||||
|
Reference in New Issue
Block a user