Wizard: how jump to a specific page?


#1

Hi all, I’ve a Wizard with 10 pages. How can I jump to a specific page?


#2

OK I solved. Simply setting the .set_next method. If

w = Wx::Wizard.new(self, :title => 'Title)
p1 = Wx::WizardPageSimple.new(w)
p2 = Wx::WizardPageSimple.new(w, p1)
p3 = Wx::WizardPageSimple.new(w, p2)

p1.set_next(p2)
p2.set_next(p3)

I want to jump from the 1st to the 3rd page, so just set

p1.set_net(p3)

!! That’s all!!