From 894f813dd820cfb5f4234238f41c94081aa80f0b Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 23 Mar 2006 09:10:47 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=9713 --- clientgui/BOINCBaseView.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/clientgui/BOINCBaseView.cpp b/clientgui/BOINCBaseView.cpp index d86675dc62..317a0b7bd3 100644 --- a/clientgui/BOINCBaseView.cpp +++ b/clientgui/BOINCBaseView.cpp @@ -292,10 +292,8 @@ void CBOINCBaseView::OnListDeselected(wxListEvent& event) { } -wxString CBOINCBaseView::OnListGetItemText( - long WXUNUSED(item), long WXUNUSED(column) -) const { - return wxString("Undefined"); +wxString CBOINCBaseView::OnListGetItemText(long WXUNUSED(item), long WXUNUSED(column)) const { + return wxString(wxT("Undefined")); } @@ -472,8 +470,8 @@ void CBOINCBaseView::UpdateWebsiteSelection(long lControlGroup, PROJECT* project // Project defined urls for (i=0;(igui_urls.size())&&(i<=ID_TASK_PROJECT_WEB_PROJDEF_MAX);i++) { pItem = new CTaskItem( - _(wxString(project->gui_urls[i].name.c_str(), wxConvUTF8)), - _(wxString(project->gui_urls[i].description.c_str(), wxConvUTF8)), + wxGetTranslation(wxString(project->gui_urls[i].name.c_str(), wxConvUTF8)), + wxGetTranslation(wxString(project->gui_urls[i].description.c_str(), wxConvUTF8)), wxString(project->gui_urls[i].url.c_str(), wxConvUTF8), ID_TASK_PROJECT_WEB_PROJDEF_MIN + 1 + i );