MGR: Make sure we populate the static control texts on either the 'next' or 'back' events.

This commit is contained in:
Rom Walton 2016-02-19 23:35:44 -05:00
parent 9f640d5645
commit 05624e73d8
1 changed files with 1 additions and 3 deletions

View File

@ -286,9 +286,7 @@ wxIcon CAccountInfoPage::GetIconResource( const wxString& WXUNUSED(name) )
* wxEVT_WIZARD_PAGE_CHANGED event handler for ID_ACCOUNTINFOPAGE
*/
void CAccountInfoPage::OnPageChanged( wxWizardExEvent& event ) {
if (event.GetDirection() == false) return;
void CAccountInfoPage::OnPageChanged( wxWizardExEvent& /* event */ ) {
CWizardAttach* pWA = ((CWizardAttach*)GetParent());
CSkinAdvanced* pSkinAdvanced = wxGetApp().GetSkinManager()->GetAdvanced();
CSkinWizardATAM* pSkinWizardATAM = wxGetApp().GetSkinManager()->GetWizards()->GetWizardATAM();