LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
LIBDCP_ENABLE_WARNINGS
+#include <boost/bind.hpp>
#include <boost/optional.hpp>
void add(std::string const& entry);
void set(int index);
boost::optional<int> get() const;
+ boost::optional<wxString> get_data() const;
+
+ template <typename... Args>
+ void bind(Args... args) {
+ Bind(wxEVT_CHOICE, boost::bind(std::forward<Args>(args)...));
+ }
private:
bool _needs_clearing = true;