# This file was created automatically by SWIG.
-import wizardc
+# Don't modify this file, modify the SWIG interface instead.
+
+import _wizard
+
+import windows
+import core
+wx = core
+WIZARD_EX_HELPBUTTON = _wizard.WIZARD_EX_HELPBUTTON
+wxEVT_WIZARD_PAGE_CHANGED = _wizard.wxEVT_WIZARD_PAGE_CHANGED
+wxEVT_WIZARD_PAGE_CHANGING = _wizard.wxEVT_WIZARD_PAGE_CHANGING
+wxEVT_WIZARD_CANCEL = _wizard.wxEVT_WIZARD_CANCEL
+wxEVT_WIZARD_HELP = _wizard.wxEVT_WIZARD_HELP
+wxEVT_WIZARD_FINISHED = _wizard.wxEVT_WIZARD_FINISHED
+EVT_WIZARD_PAGE_CHANGED = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGED, 1)
+EVT_WIZARD_PAGE_CHANGING = wx.PyEventBinder( wxEVT_WIZARD_PAGE_CHANGING, 1)
+EVT_WIZARD_CANCEL = wx.PyEventBinder( wxEVT_WIZARD_CANCEL, 1)
+EVT_WIZARD_HELP = wx.PyEventBinder( wxEVT_WIZARD_HELP, 1)
+EVT_WIZARD_FINISHED = wx.PyEventBinder( wxEVT_WIZARD_FINISHED, 1)
+
+class WizardEvent(core.NotifyEvent):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(wxEventType type=wxEVT_NULL, int id=-1, bool direction=True,
+ WizardPage page=None) -> WizardEvent
+ """
+ newobj = _wizard.new_WizardEvent(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def GetDirection(*args, **kwargs):
+ """GetDirection() -> bool"""
+ return _wizard.WizardEvent_GetDirection(*args, **kwargs)
-from windows import *
+ def GetPage(*args, **kwargs):
+ """GetPage() -> WizardPage"""
+ return _wizard.WizardEvent_GetPage(*args, **kwargs)
-from misc import *
-from gdi import *
+class WizardEventPtr(WizardEvent):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = WizardEvent
+_wizard.WizardEvent_swigregister(WizardEventPtr)
-from fonts import *
+class WizardPage(windows.Panel):
+ def __init__(self): raise RuntimeError, "No constructor defined"
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def Create(*args, **kwargs):
+ """Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
+ return _wizard.WizardPage_Create(*args, **kwargs)
-from clip_dnd import *
+ def GetPrev(*args, **kwargs):
+ """GetPrev() -> WizardPage"""
+ return _wizard.WizardPage_GetPrev(*args, **kwargs)
-from frames import *
+ def GetNext(*args, **kwargs):
+ """GetNext() -> WizardPage"""
+ return _wizard.WizardPage_GetNext(*args, **kwargs)
-from stattool import *
+ def GetBitmap(*args, **kwargs):
+ """GetBitmap() -> Bitmap"""
+ return _wizard.WizardPage_GetBitmap(*args, **kwargs)
-from controls import *
-from events import *
+class WizardPagePtr(WizardPage):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = WizardPage
+_wizard.WizardPage_swigregister(WizardPagePtr)
-# wizard events
-def EVT_WIZARD_PAGE_CHANGED(win, id, func):
- win.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGED, func)
+class PyWizardPage(WizardPage):
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage"""
+ newobj = _wizard.new_PyWizardPage(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ self._setCallbackInfo(self, PyWizardPage);self._setOORInfo(self)
-def EVT_WIZARD_PAGE_CHANGING(win, id, func):
- win.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGING, func)
+ def Create(*args, **kwargs):
+ """Create(Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
+ return _wizard.PyWizardPage_Create(*args, **kwargs)
-def EVT_WIZARD_CANCEL(win, id, func):
- win.Connect(id, -1, wxEVT_WIZARD_CANCEL, func)
+ def _setCallbackInfo(*args, **kwargs):
+ """_setCallbackInfo(PyObject self, PyObject _class)"""
+ return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
-def EVT_WIZARD_HELP(win, id, func):
- win.Connect(id, -1, wxEVT_WIZARD_HELP, func)
+ def base_DoMoveWindow(*args, **kwargs):
+ """base_DoMoveWindow(int x, int y, int width, int height)"""
+ return _wizard.PyWizardPage_base_DoMoveWindow(*args, **kwargs)
-def EVT_WIZARD_FINISHED(win, id, func):
- win.Connect(id, -1, wxEVT_WIZARD_FINISHED, func)
+ def base_DoSetSize(*args, **kwargs):
+ """base_DoSetSize(int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
+ return _wizard.PyWizardPage_base_DoSetSize(*args, **kwargs)
+ def base_DoSetClientSize(*args, **kwargs):
+ """base_DoSetClientSize(int width, int height)"""
+ return _wizard.PyWizardPage_base_DoSetClientSize(*args, **kwargs)
-class wxWizardEventPtr(wxNotifyEventPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def GetDirection(self, *_args, **_kwargs):
- val = wizardc.wxWizardEvent_GetDirection(self, *_args, **_kwargs)
- return val
- def GetPage(self, *_args, **_kwargs):
- val = wizardc.wxWizardEvent_GetPage(self, *_args, **_kwargs)
- return val
- def __repr__(self):
- return "<%s.%s instance; proxy of C++ wxWizardEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
-class wxWizardEvent(wxWizardEventPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = wizardc.new_wxWizardEvent(*_args,**_kwargs)
- self.thisown = 1
+ def base_DoSetVirtualSize(*args, **kwargs):
+ """base_DoSetVirtualSize(int x, int y)"""
+ return _wizard.PyWizardPage_base_DoSetVirtualSize(*args, **kwargs)
+ def base_DoGetSize(*args, **kwargs):
+ """base_DoGetSize() -> (width, height)"""
+ return _wizard.PyWizardPage_base_DoGetSize(*args, **kwargs)
+ def base_DoGetClientSize(*args, **kwargs):
+ """base_DoGetClientSize() -> (width, height)"""
+ return _wizard.PyWizardPage_base_DoGetClientSize(*args, **kwargs)
+ def base_DoGetPosition(*args, **kwargs):
+ """base_DoGetPosition() -> (x,y)"""
+ return _wizard.PyWizardPage_base_DoGetPosition(*args, **kwargs)
-class wxWizardPagePtr(wxPanelPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def Create(self, *_args, **_kwargs):
- val = wizardc.wxWizardPage_Create(self, *_args, **_kwargs)
- return val
- def GetPrev(self, *_args, **_kwargs):
- val = wizardc.wxWizardPage_GetPrev(self, *_args, **_kwargs)
- return val
- def GetNext(self, *_args, **_kwargs):
- val = wizardc.wxWizardPage_GetNext(self, *_args, **_kwargs)
- return val
- def GetBitmap(self, *_args, **_kwargs):
- val = wizardc.wxWizardPage_GetBitmap(self, *_args, **_kwargs)
- if val: val = wxBitmapPtr(val) ; val.thisown = 1
- return val
- def __repr__(self):
- return "<%s.%s instance; proxy of C++ wxWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
-class wxWizardPage(wxWizardPagePtr):
- def __init__(self,this):
- self.this = this
+ def base_DoGetVirtualSize(*args, **kwargs):
+ """base_DoGetVirtualSize() -> Size"""
+ return _wizard.PyWizardPage_base_DoGetVirtualSize(*args, **kwargs)
+ def base_DoGetBestSize(*args, **kwargs):
+ """base_DoGetBestSize() -> Size"""
+ return _wizard.PyWizardPage_base_DoGetBestSize(*args, **kwargs)
+ def base_InitDialog(*args, **kwargs):
+ """base_InitDialog()"""
+ return _wizard.PyWizardPage_base_InitDialog(*args, **kwargs)
+ def base_TransferDataToWindow(*args, **kwargs):
+ """base_TransferDataToWindow() -> bool"""
+ return _wizard.PyWizardPage_base_TransferDataToWindow(*args, **kwargs)
-class wxPyWizardPagePtr(wxWizardPagePtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def Create(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_Create(self, *_args, **_kwargs)
- return val
- def _setCallbackInfo(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage__setCallbackInfo(self, *_args, **_kwargs)
- return val
- def base_DoMoveWindow(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_DoMoveWindow(self, *_args, **_kwargs)
- return val
- def base_DoSetSize(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_DoSetSize(self, *_args, **_kwargs)
- return val
- def base_DoSetClientSize(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_DoSetClientSize(self, *_args, **_kwargs)
- return val
- def base_DoSetVirtualSize(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_DoSetVirtualSize(self, *_args, **_kwargs)
- return val
- def base_DoGetSize(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_DoGetSize(self, *_args, **_kwargs)
- return val
- def base_DoGetClientSize(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_DoGetClientSize(self, *_args, **_kwargs)
- return val
- def base_DoGetPosition(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_DoGetPosition(self, *_args, **_kwargs)
- return val
- def base_DoGetVirtualSize(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_DoGetVirtualSize(self, *_args, **_kwargs)
- if val: val = wxSizePtr(val) ; val.thisown = 1
- return val
- def base_DoGetBestSize(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_DoGetBestSize(self, *_args, **_kwargs)
- if val: val = wxSizePtr(val) ; val.thisown = 1
- return val
- def base_InitDialog(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_InitDialog(self, *_args, **_kwargs)
- return val
- def base_TransferDataToWindow(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_TransferDataToWindow(self, *_args, **_kwargs)
- return val
- def base_TransferDataFromWindow(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_TransferDataFromWindow(self, *_args, **_kwargs)
- return val
- def base_Validate(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_Validate(self, *_args, **_kwargs)
- return val
- def base_AcceptsFocus(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_AcceptsFocus(self, *_args, **_kwargs)
- return val
- def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs)
- return val
- def base_GetMaxSize(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_GetMaxSize(self, *_args, **_kwargs)
- if val: val = wxSizePtr(val) ; val.thisown = 1
- return val
- def base_AddChild(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_AddChild(self, *_args, **_kwargs)
- return val
- def base_RemoveChild(self, *_args, **_kwargs):
- val = wizardc.wxPyWizardPage_base_RemoveChild(self, *_args, **_kwargs)
- return val
- def __repr__(self):
- return "<%s.%s instance; proxy of C++ wxPyWizardPage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
-class wxPyWizardPage(wxPyWizardPagePtr):
- def __init__(self,*_args,**_kwargs):
- self.this = wizardc.new_wxPyWizardPage(*_args,**_kwargs)
- self.thisown = 1
- self._setCallbackInfo(self, wxPyWizardPage)
- self._setOORInfo(self)
+ def base_TransferDataFromWindow(*args, **kwargs):
+ """base_TransferDataFromWindow() -> bool"""
+ return _wizard.PyWizardPage_base_TransferDataFromWindow(*args, **kwargs)
+ def base_Validate(*args, **kwargs):
+ """base_Validate() -> bool"""
+ return _wizard.PyWizardPage_base_Validate(*args, **kwargs)
+ def base_AcceptsFocus(*args, **kwargs):
+ """base_AcceptsFocus() -> bool"""
+ return _wizard.PyWizardPage_base_AcceptsFocus(*args, **kwargs)
-def wxPrePyWizardPage(*_args,**_kwargs):
- val = wxPyWizardPagePtr(wizardc.new_wxPrePyWizardPage(*_args,**_kwargs))
- val.thisown = 1
- val._setOORInfo(val)
- return val
+ def base_AcceptsFocusFromKeyboard(*args, **kwargs):
+ """base_AcceptsFocusFromKeyboard() -> bool"""
+ return _wizard.PyWizardPage_base_AcceptsFocusFromKeyboard(*args, **kwargs)
+
+ def base_GetMaxSize(*args, **kwargs):
+ """base_GetMaxSize() -> Size"""
+ return _wizard.PyWizardPage_base_GetMaxSize(*args, **kwargs)
+ def base_AddChild(*args, **kwargs):
+ """base_AddChild(Window child)"""
+ return _wizard.PyWizardPage_base_AddChild(*args, **kwargs)
-class wxWizardPageSimplePtr(wxWizardPagePtr):
- def __init__(self,this):
+ def base_RemoveChild(*args, **kwargs):
+ """base_RemoveChild(Window child)"""
+ return _wizard.PyWizardPage_base_RemoveChild(*args, **kwargs)
+
+
+class PyWizardPagePtr(PyWizardPage):
+ def __init__(self, this):
self.this = this
- self.thisown = 0
- def Create(self, *_args, **_kwargs):
- val = wizardc.wxWizardPageSimple_Create(self, *_args, **_kwargs)
- return val
- def SetPrev(self, *_args, **_kwargs):
- val = wizardc.wxWizardPageSimple_SetPrev(self, *_args, **_kwargs)
- return val
- def SetNext(self, *_args, **_kwargs):
- val = wizardc.wxWizardPageSimple_SetNext(self, *_args, **_kwargs)
- return val
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = PyWizardPage
+_wizard.PyWizardPage_swigregister(PyWizardPagePtr)
+
+def PrePyWizardPage(*args, **kwargs):
+ """PrePyWizardPage() -> PyWizardPage"""
+ val = _wizard.new_PrePyWizardPage(*args, **kwargs)
+ val.thisown = 1
+ return val
+
+class WizardPageSimple(WizardPage):
def __repr__(self):
- return "<%s.%s instance; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
-class wxWizardPageSimple(wxWizardPageSimplePtr):
- def __init__(self,*_args,**_kwargs):
- self.this = wizardc.new_wxWizardPageSimple(*_args,**_kwargs)
+ return "<%s.%s; proxy of C++ wxWizardPageSimple instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(Wizard parent, WizardPage prev=None, WizardPage next=None,
+ Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple
+ """
+ newobj = _wizard.new_WizardPageSimple(*args, **kwargs)
+ self.this = newobj.this
self.thisown = 1
+ del newobj.thisown
self._setOORInfo(self)
+ def Create(*args, **kwargs):
+ """
+ Create(Wizard parent=None, WizardPage prev=None, WizardPage next=None,
+ Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> bool
+ """
+ return _wizard.WizardPageSimple_Create(*args, **kwargs)
+
+ def SetPrev(*args, **kwargs):
+ """SetPrev(WizardPage prev)"""
+ return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
+
+ def SetNext(*args, **kwargs):
+ """SetNext(WizardPage next)"""
+ return _wizard.WizardPageSimple_SetNext(*args, **kwargs)
+
+ def Chain(*args, **kwargs):
+ """Chain(WizardPageSimple first, WizardPageSimple second)"""
+ return _wizard.WizardPageSimple_Chain(*args, **kwargs)
+
+ Chain = staticmethod(Chain)
+class WizardPageSimplePtr(WizardPageSimple):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = WizardPageSimple
+_wizard.WizardPageSimple_swigregister(WizardPageSimplePtr)
-def wxPreWizardPageSimple(*_args,**_kwargs):
- val = wxWizardPageSimplePtr(wizardc.new_wxPreWizardPageSimple(*_args,**_kwargs))
+def PreWizardPageSimple(*args, **kwargs):
+ """PreWizardPageSimple() -> WizardPageSimple"""
+ val = _wizard.new_PreWizardPageSimple(*args, **kwargs)
val.thisown = 1
- val._setOORInfo(val)
return val
+def WizardPageSimple_Chain(*args, **kwargs):
+ """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
+ return _wizard.WizardPageSimple_Chain(*args, **kwargs)
-class wxWizardPtr(wxDialogPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def Create(self, *_args, **_kwargs):
- val = wizardc.wxWizard_Create(self, *_args, **_kwargs)
- return val
- def Init(self, *_args, **_kwargs):
- val = wizardc.wxWizard_Init(self, *_args, **_kwargs)
- return val
- def RunWizard(self, *_args, **_kwargs):
- val = wizardc.wxWizard_RunWizard(self, *_args, **_kwargs)
- return val
- def GetCurrentPage(self, *_args, **_kwargs):
- val = wizardc.wxWizard_GetCurrentPage(self, *_args, **_kwargs)
- return val
- def SetPageSize(self, *_args, **_kwargs):
- val = wizardc.wxWizard_SetPageSize(self, *_args, **_kwargs)
- return val
- def GetPageSize(self, *_args, **_kwargs):
- val = wizardc.wxWizard_GetPageSize(self, *_args, **_kwargs)
- if val: val = wxSizePtr(val) ; val.thisown = 1
- return val
- def FitToPage(self, *_args, **_kwargs):
- val = wizardc.wxWizard_FitToPage(self, *_args, **_kwargs)
- return val
- def GetPageAreaSizer(self, *_args, **_kwargs):
- val = wizardc.wxWizard_GetPageAreaSizer(self, *_args, **_kwargs)
- return val
- def SetBorder(self, *_args, **_kwargs):
- val = wizardc.wxWizard_SetBorder(self, *_args, **_kwargs)
- return val
- def IsRunning(self, *_args, **_kwargs):
- val = wizardc.wxWizard_IsRunning(self, *_args, **_kwargs)
- return val
- def ShowPage(self, *_args, **_kwargs):
- val = wizardc.wxWizard_ShowPage(self, *_args, **_kwargs)
- return val
- def HasNextPage(self, *_args, **_kwargs):
- val = wizardc.wxWizard_HasNextPage(self, *_args, **_kwargs)
- return val
- def HasPrevPage(self, *_args, **_kwargs):
- val = wizardc.wxWizard_HasPrevPage(self, *_args, **_kwargs)
- return val
+class Wizard(windows.Dialog):
def __repr__(self):
- return "<%s.%s instance; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
-class wxWizard(wxWizardPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = wizardc.new_wxWizard(*_args,**_kwargs)
+ return "<%s.%s; proxy of C++ wxWizard instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(Window parent, int id=-1, String title=EmptyString,
+ Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition,
+ long style=DEFAULT_DIALOG_STYLE) -> Wizard
+ """
+ newobj = _wizard.new_Wizard(*args, **kwargs)
+ self.this = newobj.this
self.thisown = 1
+ del newobj.thisown
self._setOORInfo(self)
+ def Create(*args, **kwargs):
+ """
+ Create(Window parent, int id=-1, String title=EmptyString,
+ Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition) -> bool
+ """
+ return _wizard.Wizard_Create(*args, **kwargs)
+ def Init(*args, **kwargs):
+ """Init()"""
+ return _wizard.Wizard_Init(*args, **kwargs)
-def wxPreWizard(*_args,**_kwargs):
- val = wxWizardPtr(wizardc.new_wxPreWizard(*_args,**_kwargs))
- val.thisown = 1
- val._setOORInfo(val)
- return val
+ def RunWizard(*args, **kwargs):
+ """RunWizard(WizardPage firstPage) -> bool"""
+ return _wizard.Wizard_RunWizard(*args, **kwargs)
+
+ def GetCurrentPage(*args, **kwargs):
+ """GetCurrentPage() -> WizardPage"""
+ return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
+ def SetPageSize(*args, **kwargs):
+ """SetPageSize(Size size)"""
+ return _wizard.Wizard_SetPageSize(*args, **kwargs)
+ def GetPageSize(*args, **kwargs):
+ """GetPageSize() -> Size"""
+ return _wizard.Wizard_GetPageSize(*args, **kwargs)
+ def FitToPage(*args, **kwargs):
+ """FitToPage(WizardPage firstPage)"""
+ return _wizard.Wizard_FitToPage(*args, **kwargs)
-#-------------- FUNCTION WRAPPERS ------------------
+ def GetPageAreaSizer(*args, **kwargs):
+ """GetPageAreaSizer() -> Sizer"""
+ return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
-wxWizardPageSimple_Chain = wizardc.wxWizardPageSimple_Chain
+ def SetBorder(*args, **kwargs):
+ """SetBorder(int border)"""
+ return _wizard.Wizard_SetBorder(*args, **kwargs)
+ def IsRunning(*args, **kwargs):
+ """IsRunning() -> bool"""
+ return _wizard.Wizard_IsRunning(*args, **kwargs)
+ def ShowPage(*args, **kwargs):
+ """ShowPage(WizardPage page, bool goingForward=True) -> bool"""
+ return _wizard.Wizard_ShowPage(*args, **kwargs)
-#-------------- VARIABLE WRAPPERS ------------------
+ def HasNextPage(*args, **kwargs):
+ """HasNextPage(WizardPage page) -> bool"""
+ return _wizard.Wizard_HasNextPage(*args, **kwargs)
-wxWIZARD_EX_HELPBUTTON = wizardc.wxWIZARD_EX_HELPBUTTON
-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
+ def HasPrevPage(*args, **kwargs):
+ """HasPrevPage(WizardPage page) -> bool"""
+ return _wizard.Wizard_HasPrevPage(*args, **kwargs)
-#-------------- USER INCLUDE -----------------------
+class WizardPtr(Wizard):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = Wizard
+_wizard.Wizard_swigregister(WizardPtr)
+
+def PreWizard(*args, **kwargs):
+ """PreWizard() -> Wizard"""
+ val = _wizard.new_PreWizard(*args, **kwargs)
+ val.thisown = 1
+ return val
+
-# 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