Commit 2bd41c43 authored by sigmunau's avatar sigmunau
Browse files

wx/*: fix a few string additions

parent 18631b59
......@@ -458,12 +458,12 @@ void ModuleListCatConfigControl::OnUpdate( wxCommandEvent &event )
if( b_waschecked )
{
/* Maybe not the clest solution */
if( ! newtext.Replace(wxU(",")
if( ! newtext.Replace(wxString(wxT(","))
+wxU(pp_checkboxes[i]->psz_module),
wxU("")))
wxT("")))
{
if( ! newtext.Replace(wxU(pp_checkboxes[i]->psz_module)
+ wxU(","),wxU("")))
if( ! newtext.Replace(wxString(wxU(pp_checkboxes[i]->psz_module))
+ wxT(","),wxT("")))
{
newtext.Replace(wxU(pp_checkboxes[i]->psz_module),wxU(""));
}
......
......@@ -141,7 +141,7 @@ void Timer::Notify()
if( psz_now_playing && *psz_now_playing )
{
p_main_interface->statusbar->SetStatusText(
wxU(psz_now_playing) + wxT( " - " ) +
wxString(wxU(psz_now_playing)) + wxT( " - " ) +
wxU(p_intf->p_sys->p_input->input.p_item->psz_name), 2 );
}
else
......@@ -211,7 +211,7 @@ void Timer::Notify()
if( psz_now_playing && *psz_now_playing )
{
p_main_interface->statusbar->SetStatusText(
wxU(psz_now_playing) + wxT( " - " ) +
wxString(wxU(psz_now_playing)) + wxT( " - " ) +
wxU(p_intf->p_sys->p_input->input.p_item->psz_name), 2 );
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment