diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/dcpomatic_choice.cc | 7 | ||||
| -rw-r--r-- | src/wx/dcpomatic_choice.h | 1 |
2 files changed, 8 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) { diff --git a/src/wx/dcpomatic_choice.h b/src/wx/dcpomatic_choice.h index 84ff45fcf..4506920e0 100644 --- a/src/wx/dcpomatic_choice.h +++ b/src/wx/dcpomatic_choice.h @@ -37,6 +37,7 @@ public: void add_entry(wxString const& entry, wxString const& data); void add_entry(wxString const& entry, std::string const& data); void add_entry(std::string const& entry); + void add_entry(std::string const& entry, std::string const& data); void set_entries(wxArrayString const& entries); void clear(); |
