summaryrefslogtreecommitdiff
path: root/src/wx/dcpomatic_choice.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/dcpomatic_choice.cc')
-rw-r--r--src/wx/dcpomatic_choice.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wx/dcpomatic_choice.cc b/src/wx/dcpomatic_choice.cc
index 270ab72ad..0dd4359bb 100644
--- a/src/wx/dcpomatic_choice.cc
+++ b/src/wx/dcpomatic_choice.cc
@@ -90,6 +90,13 @@ Choice::add_entry(wxString const& entry, string const& data)
void
+Choice::add_entry(string const& entry, string const& data)
+{
+ add_entry(std_to_wx(entry), std_to_wx(data));
+}
+
+
+void
Choice::set_entries(wxArrayString const& entries)
{
if (GetStrings() == entries) {