diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-05 01:26:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-05 17:06:21 +0100 |
| commit | cb330f076f72000d028b11e88702addb0a2ab480 (patch) | |
| tree | f22b8a8bff9aacdfdf84d6b42665bf38bb502ec7 /src/wx/dcpomatic_choice.h | |
| parent | 4de8ab2f8e67c50546e0bf49ab045cbdb6f0c4e2 (diff) | |
Add Choice::set_by_data().
Diffstat (limited to 'src/wx/dcpomatic_choice.h')
| -rw-r--r-- | src/wx/dcpomatic_choice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/dcpomatic_choice.h b/src/wx/dcpomatic_choice.h index e663c948d..dec0a3701 100644 --- a/src/wx/dcpomatic_choice.h +++ b/src/wx/dcpomatic_choice.h @@ -37,6 +37,7 @@ public: void add(wxString const& entry, wxString const& data); void add(std::string const& entry); void set(int index); + void set_by_data(wxString const& data); boost::optional<int> get() const; boost::optional<wxString> get_data() const; |
