summaryrefslogtreecommitdiff
path: root/src/wx/text_panel.cc
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/text_panel.cc
parent05535846f69e16bc659b874bcafd02a8ee9e96e7 (diff)
Return std::string rather than wxString from Choice::get_data().
Diffstat (limited to 'src/wx/text_panel.cc')
-rw-r--r--src/wx/text_panel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc
index f2055a542..7e4ccf5d7 100644
--- a/src/wx/text_panel.cc
+++ b/src/wx/text_panel.cc
@@ -491,7 +491,7 @@ TextPanel::current_type () const
{
if (_type->size()) {
if (auto type = _type->get_data()) {
- return string_to_text_type(wx_to_std(*type));
+ return string_to_text_type(*type);
}
}