]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/wizard.py
bitwise vs. logical operator
[wxWidgets.git] / wxPython / src / msw / wizard.py
index 391048f1938a16ec4428d52e7b8de3544beabf6f..e9f8e55957d471c3983d6cdb9c559549d23c45a1 100644 (file)
-# This file was created automatically by SWIG.
-import wizardc
-
-from windows import *
-
-from misc import *
-
-from gdi import *
-
-from fonts import *
-
-from clip_dnd import *
-
-from frames import *
-
-from stattool import *
-
-from controls import *
-
-from events import *
-
-# wizard events
-def EVT_WIZARD_PAGE_CHANGED(win, id, func):
-    win.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGED, func)
-
-def EVT_WIZARD_PAGE_CHANGING(win, id, func):
-    win.Connect(id, -1, wxEVT_WIZARD_PAGE_CHANGING, func)
-
-def EVT_WIZARD_CANCEL(win, id, func):
-    win.Connect(id, -1, wxEVT_WIZARD_CANCEL, func)
-
-def EVT_WIZARD_HELP(win, id, func):
-    win.Connect(id, -1, wxEVT_WIZARD_HELP, func)
-
-
-class wxWizardEventPtr(wxNotifyEventPtr):
-    def __init__(self,this):
-        self.this = this
-        self.thisown = 0
-    def GetDirection(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizardEvent_GetDirection,(self,) + _args, _kwargs)
-        return val
-    def GetPage(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizardEvent_GetPage,(self,) + _args, _kwargs)
-        return val
-    def __repr__(self):
-        return "<C wxWizardEvent instance at %s>" % (self.this,)
-class wxWizardEvent(wxWizardEventPtr):
-    def __init__(self,*_args,**_kwargs):
-        self.this = apply(wizardc.new_wxWizardEvent,_args,_kwargs)
-        self.thisown = 1
-
-
-
-
-class wxWizardPagePtr(wxPanelPtr):
-    def __init__(self,this):
-        self.this = this
-        self.thisown = 0
-    def Create(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizardPage_Create,(self,) + _args, _kwargs)
-        return val
-    def GetPrev(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizardPage_GetPrev,(self,) + _args, _kwargs)
-        return val
-    def GetNext(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizardPage_GetNext,(self,) + _args, _kwargs)
-        return val
-    def GetBitmap(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizardPage_GetBitmap,(self,) + _args, _kwargs)
-        if val: val = wxBitmapPtr(val) ; val.thisown = 1
-        return val
-    def __repr__(self):
-        return "<C wxWizardPage instance at %s>" % (self.this,)
-class wxWizardPage(wxWizardPagePtr):
-    def __init__(self,this):
-        self.this = this
-
-
-
-
-class wxPyWizardPagePtr(wxWizardPagePtr):
-    def __init__(self,this):
-        self.this = this
-        self.thisown = 0
-    def Create(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_Create,(self,) + _args, _kwargs)
-        return val
-    def _setCallbackInfo(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage__setCallbackInfo,(self,) + _args, _kwargs)
-        return val
-    def base_DoMoveWindow(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_DoMoveWindow,(self,) + _args, _kwargs)
-        return val
-    def base_DoSetSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_DoSetSize,(self,) + _args, _kwargs)
-        return val
-    def base_DoSetClientSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_DoSetClientSize,(self,) + _args, _kwargs)
-        return val
-    def base_DoSetVirtualSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_DoSetVirtualSize,(self,) + _args, _kwargs)
-        return val
-    def base_DoGetSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_DoGetSize,(self,) + _args, _kwargs)
-        return val
-    def base_DoGetClientSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_DoGetClientSize,(self,) + _args, _kwargs)
-        return val
-    def base_DoGetPosition(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_DoGetPosition,(self,) + _args, _kwargs)
-        return val
-    def base_DoGetVirtualSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_DoGetVirtualSize,(self,) + _args, _kwargs)
-        if val: val = wxSizePtr(val) ; val.thisown = 1
-        return val
-    def base_DoGetBestSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_DoGetBestSize,(self,) + _args, _kwargs)
-        if val: val = wxSizePtr(val) ; val.thisown = 1
-        return val
-    def base_InitDialog(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_InitDialog,(self,) + _args, _kwargs)
-        return val
-    def base_TransferDataToWindow(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_TransferDataToWindow,(self,) + _args, _kwargs)
-        return val
-    def base_TransferDataFromWindow(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_TransferDataFromWindow,(self,) + _args, _kwargs)
-        return val
-    def base_Validate(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_Validate,(self,) + _args, _kwargs)
-        return val
-    def base_AcceptsFocus(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_AcceptsFocus,(self,) + _args, _kwargs)
-        return val
-    def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_AcceptsFocusFromKeyboard,(self,) + _args, _kwargs)
-        return val
-    def base_GetMaxSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_GetMaxSize,(self,) + _args, _kwargs)
-        if val: val = wxSizePtr(val) ; val.thisown = 1
-        return val
-    def base_AddChild(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_AddChild,(self,) + _args, _kwargs)
-        return val
-    def base_RemoveChild(self, *_args, **_kwargs):
-        val = apply(wizardc.wxPyWizardPage_base_RemoveChild,(self,) + _args, _kwargs)
-        return val
-    def __repr__(self):
-        return "<C wxPyWizardPage instance at %s>" % (self.this,)
-class wxPyWizardPage(wxPyWizardPagePtr):
-    def __init__(self,*_args,**_kwargs):
-        self.this = apply(wizardc.new_wxPyWizardPage,_args,_kwargs)
-        self.thisown = 1
-        self._setCallbackInfo(self, wxPyWizardPage)
-        self._setOORInfo(self)
-
-
-
-def wxPrePyWizardPage(*_args,**_kwargs):
-    val = wxPyWizardPagePtr(apply(wizardc.new_wxPrePyWizardPage,_args,_kwargs))
-    val.thisown = 1
-    val._setOORInfo(val)
+# This file was created automatically by SWIG 1.3.29.
+# Don't modify this file, modify the SWIG interface instead.
+
+"""
+`Wizard` is a dialog class that guides the user through a sequence of steps,
+or pages.
+"""
+
+import _wizard
+import new
+new_instancemethod = new.instancemethod
+def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
+    if (name == "thisown"): return self.this.own(value)
+    if (name == "this"):
+        if type(value).__name__ == 'PySwigObject':
+            self.__dict__[name] = value
+            return
+    method = class_type.__swig_setmethods__.get(name,None)
+    if method: return method(self,value)
+    if (not static) or hasattr(self,name):
+        self.__dict__[name] = value
+    else:
+        raise AttributeError("You cannot add attributes to %s" % self)
+
+def _swig_setattr(self,class_type,name,value):
+    return _swig_setattr_nondynamic(self,class_type,name,value,0)
+
+def _swig_getattr(self,class_type,name):
+    if (name == "thisown"): return self.this.own()
+    method = class_type.__swig_getmethods__.get(name,None)
+    if method: return method(self)
+    raise AttributeError,name
+
+def _swig_repr(self):
+    try: strthis = "proxy of " + self.this.__repr__()
+    except: strthis = ""
+    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
+
+import types
+try:
+    _object = types.ObjectType
+    _newclass = 1
+except AttributeError:
+    class _object : pass
+    _newclass = 0
+del types
+
+
+def _swig_setattr_nondynamic_method(set):
+    def set_attr(self,name,value):
+        if (name == "thisown"): return self.this.own(value)
+        if hasattr(self,name) or (name == "this"):
+            set(self,name,value)
+        else:
+            raise AttributeError("You cannot add attributes to %s" % self)
+    return set_attr
+
+
+import _windows
+import _core
+wx = _core 
+__docfilter__ = wx.__DocFilter(globals()) 
+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):
+    """Proxy of C++ WizardEvent class"""
+    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+    __repr__ = _swig_repr
+    def __init__(self, *args, **kwargs): 
+        """
+        __init__(self, EventType type=wxEVT_NULL, int id=-1, bool direction=True, 
+            WizardPage page=None) -> WizardEvent
+        """
+        _wizard.WizardEvent_swiginit(self,_wizard.new_WizardEvent(*args, **kwargs))
+    def GetDirection(*args, **kwargs):
+        """GetDirection(self) -> bool"""
+        return _wizard.WizardEvent_GetDirection(*args, **kwargs)
+
+    def GetPage(*args, **kwargs):
+        """GetPage(self) -> WizardPage"""
+        return _wizard.WizardEvent_GetPage(*args, **kwargs)
+
+    Direction = property(GetDirection,doc="See `GetDirection`") 
+    Page = property(GetPage,doc="See `GetPage`") 
+_wizard.WizardEvent_swigregister(WizardEvent)
+
+class WizardPage(_windows.Panel):
+    """Proxy of C++ WizardPage class"""
+    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+    def __init__(self): raise AttributeError, "No constructor defined"
+    __repr__ = _swig_repr
+    def Create(*args, **kwargs):
+        """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
+        return _wizard.WizardPage_Create(*args, **kwargs)
+
+    def GetPrev(*args, **kwargs):
+        """GetPrev(self) -> WizardPage"""
+        return _wizard.WizardPage_GetPrev(*args, **kwargs)
+
+    def GetNext(*args, **kwargs):
+        """GetNext(self) -> WizardPage"""
+        return _wizard.WizardPage_GetNext(*args, **kwargs)
+
+    def GetBitmap(*args, **kwargs):
+        """GetBitmap(self) -> Bitmap"""
+        return _wizard.WizardPage_GetBitmap(*args, **kwargs)
+
+    Bitmap = property(GetBitmap,doc="See `GetBitmap`") 
+    Next = property(GetNext,doc="See `GetNext`") 
+    Prev = property(GetPrev,doc="See `GetPrev`") 
+_wizard.WizardPage_swigregister(WizardPage)
+
+class PyWizardPage(WizardPage):
+    """Proxy of C++ PyWizardPage class"""
+    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+    __repr__ = _swig_repr
+    def __init__(self, *args, **kwargs): 
+        """__init__(self, Wizard parent, Bitmap bitmap=&wxNullBitmap, String resource=&wxPyEmptyString) -> PyWizardPage"""
+        _wizard.PyWizardPage_swiginit(self,_wizard.new_PyWizardPage(*args, **kwargs))
+        self._setOORInfo(self);PyWizardPage._setCallbackInfo(self, self, PyWizardPage)
+
+    def Create(*args, **kwargs):
+        """Create(self, Wizard parent, Bitmap bitmap=wxNullBitmap, String resource=EmptyString) -> bool"""
+        return _wizard.PyWizardPage_Create(*args, **kwargs)
+
+    def _setCallbackInfo(*args, **kwargs):
+        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
+        return _wizard.PyWizardPage__setCallbackInfo(*args, **kwargs)
+
+    def DoMoveWindow(*args, **kwargs):
+        """DoMoveWindow(self, int x, int y, int width, int height)"""
+        return _wizard.PyWizardPage_DoMoveWindow(*args, **kwargs)
+
+    def DoSetSize(*args, **kwargs):
+        """DoSetSize(self, int x, int y, int width, int height, int sizeFlags=SIZE_AUTO)"""
+        return _wizard.PyWizardPage_DoSetSize(*args, **kwargs)
+
+    def DoSetClientSize(*args, **kwargs):
+        """DoSetClientSize(self, int width, int height)"""
+        return _wizard.PyWizardPage_DoSetClientSize(*args, **kwargs)
+
+    def DoSetVirtualSize(*args, **kwargs):
+        """DoSetVirtualSize(self, int x, int y)"""
+        return _wizard.PyWizardPage_DoSetVirtualSize(*args, **kwargs)
+
+    def DoGetSize(*args, **kwargs):
+        """DoGetSize() -> (width, height)"""
+        return _wizard.PyWizardPage_DoGetSize(*args, **kwargs)
+
+    def DoGetClientSize(*args, **kwargs):
+        """DoGetClientSize() -> (width, height)"""
+        return _wizard.PyWizardPage_DoGetClientSize(*args, **kwargs)
+
+    def DoGetPosition(*args, **kwargs):
+        """DoGetPosition() -> (x,y)"""
+        return _wizard.PyWizardPage_DoGetPosition(*args, **kwargs)
+
+    def DoGetVirtualSize(*args, **kwargs):
+        """DoGetVirtualSize(self) -> Size"""
+        return _wizard.PyWizardPage_DoGetVirtualSize(*args, **kwargs)
+
+    def DoGetBestSize(*args, **kwargs):
+        """DoGetBestSize(self) -> Size"""
+        return _wizard.PyWizardPage_DoGetBestSize(*args, **kwargs)
+
+    def GetDefaultAttributes(*args, **kwargs):
+        """GetDefaultAttributes(self) -> VisualAttributes"""
+        return _wizard.PyWizardPage_GetDefaultAttributes(*args, **kwargs)
+
+    def OnInternalIdle(*args, **kwargs):
+        """OnInternalIdle(self)"""
+        return _wizard.PyWizardPage_OnInternalIdle(*args, **kwargs)
+
+    def base_DoMoveWindow(*args, **kw):
+        return PyWizardPage.DoMoveWindow(*args, **kw)
+    base_DoMoveWindow = wx._deprecated(base_DoMoveWindow,
+                                   "Please use PyWizardPage.DoMoveWindow instead.")
+
+    def base_DoSetSize(*args, **kw):
+        return PyWizardPage.DoSetSize(*args, **kw)
+    base_DoSetSize = wx._deprecated(base_DoSetSize,
+                                   "Please use PyWizardPage.DoSetSize instead.")
+
+    def base_DoSetClientSize(*args, **kw):
+        return PyWizardPage.DoSetClientSize(*args, **kw)
+    base_DoSetClientSize = wx._deprecated(base_DoSetClientSize,
+                                   "Please use PyWizardPage.DoSetClientSize instead.")
+
+    def base_DoSetVirtualSize(*args, **kw):
+        return PyWizardPage.DoSetVirtualSize(*args, **kw)
+    base_DoSetVirtualSize = wx._deprecated(base_DoSetVirtualSize,
+                                   "Please use PyWizardPage.DoSetVirtualSize instead.")
+
+    def base_DoGetSize(*args, **kw):
+        return PyWizardPage.DoGetSize(*args, **kw)
+    base_DoGetSize = wx._deprecated(base_DoGetSize,
+                                   "Please use PyWizardPage.DoGetSize instead.")
+
+    def base_DoGetClientSize(*args, **kw):
+        return PyWizardPage.DoGetClientSize(*args, **kw)
+    base_DoGetClientSize = wx._deprecated(base_DoGetClientSize,
+                                   "Please use PyWizardPage.DoGetClientSize instead.")
+
+    def base_DoGetPosition(*args, **kw):
+        return PyWizardPage.DoGetPosition(*args, **kw)
+    base_DoGetPosition = wx._deprecated(base_DoGetPosition,
+                                   "Please use PyWizardPage.DoGetPosition instead.")
+
+    def base_DoGetVirtualSize(*args, **kw):
+        return PyWizardPage.DoGetVirtualSize(*args, **kw)
+    base_DoGetVirtualSize = wx._deprecated(base_DoGetVirtualSize,
+                                   "Please use PyWizardPage.DoGetVirtualSize instead.")
+
+    def base_DoGetBestSize(*args, **kw):
+        return PyWizardPage.DoGetBestSize(*args, **kw)
+    base_DoGetBestSize = wx._deprecated(base_DoGetBestSize,
+                                   "Please use PyWizardPage.DoGetBestSize instead.")
+
+    def base_InitDialog(*args, **kw):
+        return PyWizardPage.InitDialog(*args, **kw)
+    base_InitDialog = wx._deprecated(base_InitDialog,
+                                   "Please use PyWizardPage.InitDialog instead.")
+
+    def base_TransferDataToWindow(*args, **kw):
+        return PyWizardPage.TransferDataToWindow(*args, **kw)
+    base_TransferDataToWindow = wx._deprecated(base_TransferDataToWindow,
+                                   "Please use PyWizardPage.TransferDataToWindow instead.")
+
+    def base_TransferDataFromWindow(*args, **kw):
+        return PyWizardPage.TransferDataFromWindow(*args, **kw)
+    base_TransferDataFromWindow = wx._deprecated(base_TransferDataFromWindow,
+                                   "Please use PyWizardPage.TransferDataFromWindow instead.")
+
+    def base_Validate(*args, **kw):
+        return PyWizardPage.Validate(*args, **kw)
+    base_Validate = wx._deprecated(base_Validate,
+                                   "Please use PyWizardPage.Validate instead.")
+
+    def base_AcceptsFocus(*args, **kw):
+        return PyWizardPage.AcceptsFocus(*args, **kw)
+    base_AcceptsFocus = wx._deprecated(base_AcceptsFocus,
+                                   "Please use PyWizardPage.AcceptsFocus instead.")
+
+    def base_AcceptsFocusFromKeyboard(*args, **kw):
+        return PyWizardPage.AcceptsFocusFromKeyboard(*args, **kw)
+    base_AcceptsFocusFromKeyboard = wx._deprecated(base_AcceptsFocusFromKeyboard,
+                                   "Please use PyWizardPage.AcceptsFocusFromKeyboard instead.")
+
+    def base_GetMaxSize(*args, **kw):
+        return PyWizardPage.GetMaxSize(*args, **kw)
+    base_GetMaxSize = wx._deprecated(base_GetMaxSize,
+                                   "Please use PyWizardPage.GetMaxSize instead.")
+
+    def base_AddChild(*args, **kw):
+        return PyWizardPage.AddChild(*args, **kw)
+    base_AddChild = wx._deprecated(base_AddChild,
+                                   "Please use PyWizardPage.AddChild instead.")
+
+    def base_RemoveChild(*args, **kw):
+        return PyWizardPage.RemoveChild(*args, **kw)
+    base_RemoveChild = wx._deprecated(base_RemoveChild,
+                                   "Please use PyWizardPage.RemoveChild instead.")
+
+    def base_ShouldInheritColours(*args, **kw):
+        return PyWizardPage.ShouldInheritColours(*args, **kw)
+    base_ShouldInheritColours = wx._deprecated(base_ShouldInheritColours,
+                                   "Please use PyWizardPage.ShouldInheritColours instead.")
+
+    def base_GetDefaultAttributes(*args, **kw):
+        return PyWizardPage.GetDefaultAttributes(*args, **kw)
+    base_GetDefaultAttributes = wx._deprecated(base_GetDefaultAttributes,
+                                   "Please use PyWizardPage.GetDefaultAttributes instead.")
+
+    def base_OnInternalIdle(*args, **kw):
+        return PyWizardPage.OnInternalIdle(*args, **kw)
+    base_OnInternalIdle = wx._deprecated(base_OnInternalIdle,
+                                   "Please use PyWizardPage.OnInternalIdle instead.")
+
+_wizard.PyWizardPage_swigregister(PyWizardPage)
+
+def PrePyWizardPage(*args, **kwargs):
+    """PrePyWizardPage() -> PyWizardPage"""
+    val = _wizard.new_PrePyWizardPage(*args, **kwargs)
     return val
 
-
-class wxWizardPageSimplePtr(wxWizardPagePtr):
-    def __init__(self,this):
-        self.this = this
-        self.thisown = 0
-    def Create(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizardPageSimple_Create,(self,) + _args, _kwargs)
-        return val
-    def SetPrev(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizardPageSimple_SetPrev,(self,) + _args, _kwargs)
-        return val
-    def SetNext(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizardPageSimple_SetNext,(self,) + _args, _kwargs)
-        return val
-    def __repr__(self):
-        return "<C wxWizardPageSimple instance at %s>" % (self.this,)
-class wxWizardPageSimple(wxWizardPageSimplePtr):
-    def __init__(self,*_args,**_kwargs):
-        self.this = apply(wizardc.new_wxWizardPageSimple,_args,_kwargs)
-        self.thisown = 1
+class WizardPageSimple(WizardPage):
+    """Proxy of C++ WizardPageSimple class"""
+    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+    __repr__ = _swig_repr
+    def __init__(self, *args, **kwargs): 
+        """
+        __init__(self, Wizard parent, WizardPage prev=None, WizardPage next=None, 
+            Bitmap bitmap=wxNullBitmap, wxChar resource=None) -> WizardPageSimple
+        """
+        _wizard.WizardPageSimple_swiginit(self,_wizard.new_WizardPageSimple(*args, **kwargs))
         self._setOORInfo(self)
 
+    def Create(*args, **kwargs):
+        """
+        Create(self, 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(self, WizardPage prev)"""
+        return _wizard.WizardPageSimple_SetPrev(*args, **kwargs)
 
-def wxPreWizardPageSimple(*_args,**_kwargs):
-    val = wxWizardPageSimplePtr(apply(wizardc.new_wxPreWizardPageSimple,_args,_kwargs))
-    val.thisown = 1
-    val._setOORInfo(val)
-    return val
-
-
-class wxWizardPtr(wxDialogPtr):
-    def __init__(self,this):
-        self.this = this
-        self.thisown = 0
-    def Create(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizard_Create,(self,) + _args, _kwargs)
-        return val
-    def Init(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizard_Init,(self,) + _args, _kwargs)
-        return val
-    def RunWizard(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizard_RunWizard,(self,) + _args, _kwargs)
-        return val
-    def GetCurrentPage(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizard_GetCurrentPage,(self,) + _args, _kwargs)
-        return val
-    def SetPageSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizard_SetPageSize,(self,) + _args, _kwargs)
-        return val
-    def GetPageSize(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizard_GetPageSize,(self,) + _args, _kwargs)
-        if val: val = wxSizePtr(val) ; val.thisown = 1
-        return val
-    def FitToPage(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizard_FitToPage,(self,) + _args, _kwargs)
-        return val
-    def IsRunning(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizard_IsRunning,(self,) + _args, _kwargs)
-        return val
-    def ShowPage(self, *_args, **_kwargs):
-        val = apply(wizardc.wxWizard_ShowPage,(self,) + _args, _kwargs)
-        return val
-    def __repr__(self):
-        return "<C wxWizard instance at %s>" % (self.this,)
-class wxWizard(wxWizardPtr):
-    def __init__(self,*_args,**_kwargs):
-        self.this = apply(wizardc.new_wxWizard,_args,_kwargs)
-        self.thisown = 1
-        self._setOORInfo(self)
+    def SetNext(*args, **kwargs):
+        """SetNext(self, 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)
+_wizard.WizardPageSimple_swigregister(WizardPageSimple)
 
-def wxPreWizard(*_args,**_kwargs):
-    val = wxWizardPtr(apply(wizardc.new_wxPreWizard,_args,_kwargs))
-    val.thisown = 1
-    val._setOORInfo(val)
+def PreWizardPageSimple(*args, **kwargs):
+    """PreWizardPageSimple() -> WizardPageSimple"""
+    val = _wizard.new_PreWizardPageSimple(*args, **kwargs)
     return val
 
+def WizardPageSimple_Chain(*args, **kwargs):
+  """WizardPageSimple_Chain(WizardPageSimple first, WizardPageSimple second)"""
+  return _wizard.WizardPageSimple_Chain(*args, **kwargs)
+
+class Wizard(_windows.Dialog):
+    """Proxy of C++ Wizard class"""
+    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+    __repr__ = _swig_repr
+    def __init__(self, *args, **kwargs): 
+        """
+        __init__(self, Window parent, int id=-1, String title=EmptyString, 
+            Bitmap bitmap=wxNullBitmap, Point pos=DefaultPosition, 
+            long style=DEFAULT_DIALOG_STYLE) -> Wizard
+        """
+        _wizard.Wizard_swiginit(self,_wizard.new_Wizard(*args, **kwargs))
+        self._setOORInfo(self)
 
+    def Create(*args, **kwargs):
+        """
+        Create(self, 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(self)"""
+        return _wizard.Wizard_Init(*args, **kwargs)
+
+    def RunWizard(*args, **kwargs):
+        """RunWizard(self, WizardPage firstPage) -> bool"""
+        return _wizard.Wizard_RunWizard(*args, **kwargs)
+
+    def GetCurrentPage(*args, **kwargs):
+        """GetCurrentPage(self) -> WizardPage"""
+        return _wizard.Wizard_GetCurrentPage(*args, **kwargs)
+
+    def SetPageSize(*args, **kwargs):
+        """SetPageSize(self, Size size)"""
+        return _wizard.Wizard_SetPageSize(*args, **kwargs)
+
+    def GetPageSize(*args, **kwargs):
+        """GetPageSize(self) -> Size"""
+        return _wizard.Wizard_GetPageSize(*args, **kwargs)
+
+    def FitToPage(*args, **kwargs):
+        """FitToPage(self, WizardPage firstPage)"""
+        return _wizard.Wizard_FitToPage(*args, **kwargs)
+
+    def GetPageAreaSizer(*args, **kwargs):
+        """GetPageAreaSizer(self) -> Sizer"""
+        return _wizard.Wizard_GetPageAreaSizer(*args, **kwargs)
+
+    def SetBorder(*args, **kwargs):
+        """SetBorder(self, int border)"""
+        return _wizard.Wizard_SetBorder(*args, **kwargs)
+
+    def IsRunning(*args, **kwargs):
+        """IsRunning(self) -> bool"""
+        return _wizard.Wizard_IsRunning(*args, **kwargs)
+
+    def ShowPage(*args, **kwargs):
+        """ShowPage(self, WizardPage page, bool goingForward=True) -> bool"""
+        return _wizard.Wizard_ShowPage(*args, **kwargs)
+
+    def HasNextPage(*args, **kwargs):
+        """HasNextPage(self, WizardPage page) -> bool"""
+        return _wizard.Wizard_HasNextPage(*args, **kwargs)
+
+    def HasPrevPage(*args, **kwargs):
+        """HasPrevPage(self, WizardPage page) -> bool"""
+        return _wizard.Wizard_HasPrevPage(*args, **kwargs)
+
+    CurrentPage = property(GetCurrentPage,doc="See `GetCurrentPage`") 
+    PageAreaSizer = property(GetPageAreaSizer,doc="See `GetPageAreaSizer`") 
+    PageSize = property(GetPageSize,SetPageSize,doc="See `GetPageSize` and `SetPageSize`") 
+_wizard.Wizard_swigregister(Wizard)
+
+def PreWizard(*args, **kwargs):
+    """PreWizard() -> Wizard"""
+    val = _wizard.new_PreWizard(*args, **kwargs)
+    return val
 
 
-#-------------- FUNCTION WRAPPERS ------------------
-
-wxWizardPageSimple_Chain = wizardc.wxWizardPageSimple_Chain
-
-
-
-#-------------- VARIABLE WRAPPERS ------------------
-
-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
-
-
-#-------------- USER INCLUDE -----------------------
 
-# Stuff these names into the wx namespace so wxPyConstructObject can find them
-import wx
-wx.wxWizardEventPtr         = wxWizardEventPtr