X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdcpomatic_choice.h;h=dec0a3701684bbdff6d4bb1114929bc5fc980b1e;hb=23f2862929cc21c32c4a7ceb4bbdca0aafcb9454;hp=7c1fadcc0eb04a3f3fe293d5dd194b3fd8e00774;hpb=2f518094d7db4e8586eba9c741289735794c572c;p=dcpomatic.git diff --git a/src/wx/dcpomatic_choice.h b/src/wx/dcpomatic_choice.h index 7c1fadcc0..dec0a3701 100644 --- a/src/wx/dcpomatic_choice.h +++ b/src/wx/dcpomatic_choice.h @@ -23,7 +23,7 @@ LIBDCP_DISABLE_WARNINGS #include LIBDCP_ENABLE_WARNINGS -#include +#include #include @@ -34,8 +34,10 @@ public: void add(wxString const& entry); void add(wxString const& entry, wxClientData* data); + 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 get() const; boost::optional get_data() const;