Two stage wxWizard creation?

Turns out a colleague had already solved this for a Dialog before. The
required spell is (in __init__):

        pre = wxPreWizard()
        pre.SetExtraStyle(wxFRAME_EX_CONTEXTHELP)
        pre.Create(parent, -1, title,
                   wxBitmap(bitmapfile, wxBITMAP_TYPE_BMP))
        self.this = pre.this

Not even all that ugly :slight_smile:

S.

···

-----Original Message-----
From: Sean Slattery [mailto:Sean.Slattery@aprsmartlogik.com]
Sent: Tuesday, April 29, 2003 5:09 PM
To: wxPython-users@lists.wxwindows.org
Subject: [wxPython-users] Two stage wxWizard creation?

I'm not having any luck figuring out how to do this. I want
to have context
sensitive help on my wizard which the documentation seems to
indicate is a
SetExtraStyle job and therefore we need two stage initialisation.

I've found wxPreWizard but I don't know what to do with it.
It takes zero
arguments, so I can't call it on "self".

Is it possible to subclass wxWizard and have its __init__
take care of two
stage initialisation, or does something more complex need to happen?

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org