diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-31 23:14:17 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-06-17 00:04:03 +0200 |
| commit | 4fd50c15fc272797de804c199b987807e0644b8e (patch) | |
| tree | fd92cb00102582d13c9ffb6adb90128cd07e457d /src/wx/dcpomatic_choice.cc | |
| parent | 4e60d6a68356aaf12c4ee1aef4d1bf1d15f5384b (diff) | |
Add new Choice::add_entry() variant.
Diffstat (limited to 'src/wx/dcpomatic_choice.cc')
| -rw-r--r-- | src/wx/dcpomatic_choice.cc | 7 |
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) { |
