From 7b3daa84ac95b60101a0fafeb00552687d94ae17 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 19 Mar 2004 12:22:53 +0000 Subject: [PATCH] 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 --- src/generic/wizard.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- 2.50.0