summaryrefslogtreecommitdiff
path: root/src/wx/dcpomatic_choice.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/dcpomatic_choice.h')
-rw-r--r--src/wx/dcpomatic_choice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/dcpomatic_choice.h b/src/wx/dcpomatic_choice.h
index cc8115d20..5417c1aa2 100644
--- a/src/wx/dcpomatic_choice.h
+++ b/src/wx/dcpomatic_choice.h
@@ -35,11 +35,15 @@ public:
void add_entry(wxString const& entry);
void add_entry(wxString const& entry, wxClientData* data);
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 set_entries(wxArrayString const& entries);
+ void clear();
+
void set(int index);
void set_by_data(wxString const& data);
+ void set_by_data(std::string const& data);
boost::optional<int> get() const;
boost::optional<wxString> get_data() const;