* modules/gui/wxwindows/fileinfo.cpp: partially fixed char encoding problem in filein...
authorGildas Bazin <gbazin@videolan.org>
Mon, 26 Jul 2004 14:10:30 +0000 (14:10 +0000)
committerGildas Bazin <gbazin@videolan.org>
Mon, 26 Jul 2004 14:10:30 +0000 (14:10 +0000)
modules/gui/wxwindows/fileinfo.cpp

index 2ff146e..b8609be 100644 (file)
@@ -122,13 +122,13 @@ void FileInfo::UpdateFileInfo()
         info_category_t *p_cat = p_input->input.p_item->pp_categories[i];
 
         wxTreeItemId cat = fileinfo_tree->AppendItem( fileinfo_root,
-                                                      wxL2U(p_cat->psz_name) );
+                                                      wxU(p_cat->psz_name) );
         for( int j = 0; j < p_cat->i_infos; j++ )
         {
             info_t *p_info = p_cat->pp_infos[j];
 
-            fileinfo_tree->AppendItem( cat, (wxString)wxL2U(p_info->psz_name) +
-                                       wxT(": ") + wxL2U(p_info->psz_value) );
+            fileinfo_tree->AppendItem( cat, (wxString)wxU(p_info->psz_name) +
+                                       wxT(": ") + wxU(p_info->psz_value) );
         }
         fileinfo_tree->Expand( cat );
     }