summaryrefslogtreecommitdiff
path: root/src/wx/dcpomatic_choice.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-06 17:52:51 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-08 01:29:35 +0200
commit71f9236b03ef8934d28d291f1d9f248137448e72 (patch)
tree3d709612d0f826e841c7dea0aea09775c53bb917 /src/wx/dcpomatic_choice.h
parent05535846f69e16bc659b874bcafd02a8ee9e96e7 (diff)
Return std::string rather than wxString from Choice::get_data().
Diffstat (limited to 'src/wx/dcpomatic_choice.h')
-rw-r--r--src/wx/dcpomatic_choice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/dcpomatic_choice.h b/src/wx/dcpomatic_choice.h
index fde6a8cbb..84ff45fcf 100644
--- a/src/wx/dcpomatic_choice.h
+++ b/src/wx/dcpomatic_choice.h
@@ -46,7 +46,7 @@ public:
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;
+ boost::optional<std::string> get_data() const;
template <typename... Args>
void bind(Args... args) {