Wizard sets default button when displaying new page

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-03-19 12:22:53 +00:00
parent 6dc863c78f
commit 7b3daa84ac

View File

@@ -585,6 +585,7 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
else
m_btnNext->SetLabel(_("&Next >"));
}
m_btnNext->SetDefault();
// nothing to do: the label was already correct
// send the change event to the new page now