From: Julian Smart Date: Fri, 19 Mar 2004 12:22:53 +0000 (+0000) Subject: Wizard sets default button when displaying new page X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7b3daa84ac95b60101a0fafeb00552687d94ae17 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 --- diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index bd75dd9760..bceae5eb16 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -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