summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wx/content_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc
index 5892d9c4c..b28d9ca22 100644
--- a/src/wx/content_panel.cc
+++ b/src/wx/content_panel.cc
@@ -501,7 +501,7 @@ ContentPanel::setup ()
bool const needs_kdm = dcp && dcp->needs_kdm ();
bool const needs_assets = dcp && dcp->needs_assets ();
- string s = i->summary ();
+ wxString s = std_to_wx (i->summary ());
if (!valid) {
s = _("MISSING: ") + s;
@@ -517,7 +517,7 @@ ContentPanel::setup ()
wxListItem item;
item.SetId (t);
- item.SetText (std_to_wx (s));
+ item.SetText (s);
item.SetData (i.get ());
_content->InsertItem (item);