- wxWizard *wizard = wxWizard::Create(this, -1,
- "Absolutely Useless Wizard",
- BMP_WIZARD_1);
-
+ wxWizard *wizard = new wxWizard(this, -1,
+ "Absolutely Useless Wizard",
+ BMP_WIZARD_1);
+
// a wizard page may be either an object of predefined class
wxWizardPageSimple *page1 = new wxWizardPageSimple(wizard);
wxStaticText *text = new wxStaticText(page1, -1,
// a wizard page may be either an object of predefined class
wxWizardPageSimple *page1 = new wxWizardPageSimple(wizard);
wxStaticText *text = new wxStaticText(page1, -1,