Ticket #774: wxstring_conversion.patch

File wxstring_conversion.patch, 1.2 KB (added by narcelio, 16 years ago)

Patch to fix the error

  • clientgui/WelcomePage.cpp

     
    221221    itemBoxSizer3->Add(m_pDirectionsStaticCtrl, 0, wxALIGN_LEFT|wxALL, 5);
    222222
    223223       if ( wcg ) {
    224                m_pAppButton = new wxButton(this,ID_CHANGEAPPS,"Change Research Applications at World Community Grid");
     224               m_pAppButton = new wxButton(this,ID_CHANGEAPPS, wxT("Change Research Applications at World Community Grid"));
    225225               wxSizer* appSizer = this->GetSizer();
    226226               appSizer->Add(m_pAppButton,0, wxALIGN_CENTER,5);
    227227       }
     
    525525
    526526void CWelcomePage::OpenWCG( wxCommandEvent& event ) {
    527527    wxLogTrace(wxT("Function Start/End"), wxT("CWelcomePage::OpenWCG - Function Begin"));
    528        wxString wcgUrl = "http://www.worldcommunitygrid.org/ms/viewMyProjects.do";
     528       wxString wcgUrl = wxT("http://www.worldcommunitygrid.org/ms/viewMyProjects.do");
    529529    wxHyperLink::ExecuteLink(wcgUrl);
    530530       CWizardAttachProject*  pWAP = ((CWizardAttachProject*)GetParent());
    531531       pWAP->SimulateCancelButton();