summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-02 22:20:41 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-02 22:20:41 +0200
commitf85ea1760df1244a7f75a59567377c6b741772d9 (patch)
tree6816a6d9891405eef56bf7481d528337381226ff
parent100d2cf989070834bf6e92e6ae35d6689b1733dd (diff)
fixup! Remove some implicit conversions between wxString and std::string.text
-rw-r--r--src/wx/grok/gpu_config_panel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/grok/gpu_config_panel.h b/src/wx/grok/gpu_config_panel.h
index fb3e9e11a..a73c26503 100644
--- a/src/wx/grok/gpu_config_panel.h
+++ b/src/wx/grok/gpu_config_panel.h
@@ -67,7 +67,7 @@ public:
_combo_box->Clear();
for (auto const& name: gpu_names) {
- _combo_box->Append(name);
+ _combo_box->Append(std_to_wx(name));
}
}
}
@@ -214,7 +214,7 @@ private:
void licence_changed()
{
auto grok = Config::instance()->grok().get_value_or({});
- grok.licence = wx_to_std(_licence->get());
+ grok.licence = _licence->get();
Config::instance()->set_grok(grok);
}