wxwizard and GetNext

Vadim Zeitlin vadim at wxwindows.org
Fri Nov 3 04:22:17 PST 2006


On Fri, 3 Nov 2006 17:34:10 +1100 Jack Andrews <effbiae at gmail.com> wrote:

JA> i know that there will be a next page in my wizard, but it could be
JA> one of many pages, some of which are not very lightweight.  how can i
JA> choose to create the page only after the 'next' button is pushed?

 You need to use wxWizardPage (instead of more usual wxWizardPageSimple)
and override its GetNext() method to create the next page on demand.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list