diff --git a/clientgui/WelcomePage.cpp b/clientgui/WelcomePage.cpp index 2e8823656f..be8d2997a2 100644 --- a/clientgui/WelcomePage.cpp +++ b/clientgui/WelcomePage.cpp @@ -219,9 +219,8 @@ void CWelcomePage::CreateControls() itemBoxSizer3->Add(m_pDirectionsStaticCtrl, 0, wxALIGN_LEFT|wxALL, 5); if (wcg) { - m_pAppButton = new wxButton(this, ID_CHANGEAPPS, _("Change Research Applications at World Community Grid")); - wxSizer* appSizer = this->GetSizer(); - appSizer->Add(m_pAppButton,0, wxALIGN_CENTER,5); + m_pAppButton = new wxButton(itemWizardPage2, ID_CHANGEAPPS, _("Change Research Applications at World Community Grid")); + itemBoxSizer3->Add(m_pAppButton,0, wxALIGN_CENTER,5); } itemWizardPage2->SetSizer(itemBoxSizer3);