]> git.saurik.com Git - wxWidgets.git/commitdiff
Wizard sets default button when displaying new page
authorJulian Smart <julian@anthemion.co.uk>
Fri, 19 Mar 2004 12:22:53 +0000 (12:22 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 19 Mar 2004 12:22:53 +0000 (12:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/wizard.cpp

index bd75dd976025bd9f3e6679be7f6492b6f9118809..bceae5eb1649ee54a1cd65aa0777a2df3ef1a146 100644 (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