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:
@@ -585,6 +585,7 @@ bool wxWizard::ShowPage(wxWizardPage *page, bool goingForward)
|
|||||||
else
|
else
|
||||||
m_btnNext->SetLabel(_("&Next >"));
|
m_btnNext->SetLabel(_("&Next >"));
|
||||||
}
|
}
|
||||||
|
m_btnNext->SetDefault();
|
||||||
// nothing to do: the label was already correct
|
// nothing to do: the label was already correct
|
||||||
|
|
||||||
// send the change event to the new page now
|
// send the change event to the new page now
|
||||||
|
Reference in New Issue
Block a user