diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-03 23:25:19 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-22 13:03:04 +0200 |
| commit | bd9594a3b9958076734c3c6b3e4105d142cde6f4 (patch) | |
| tree | 920d40c2e22b2d169432fbe376707f18f8423706 /src/wx/dcpomatic_choice.h | |
| parent | 903c33051d45700a8e389b970c857c5339f9f395 (diff) | |
Add Choice::set_entries().
Diffstat (limited to 'src/wx/dcpomatic_choice.h')
| -rw-r--r-- | src/wx/dcpomatic_choice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/dcpomatic_choice.h b/src/wx/dcpomatic_choice.h index ed59f6a17..cc8115d20 100644 --- a/src/wx/dcpomatic_choice.h +++ b/src/wx/dcpomatic_choice.h @@ -36,6 +36,8 @@ public: void add_entry(wxString const& entry, wxClientData* data); void add_entry(wxString const& entry, wxString const& data); void add_entry(std::string const& entry); + void set_entries(wxArrayString const& entries); + void set(int index); void set_by_data(wxString const& data); boost::optional<int> get() const; |
