diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-09 02:02:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-03 17:02:24 +0200 |
| commit | 5527bdb269e355ca95aa91fe3907bfef0ef17ff4 (patch) | |
| tree | 5dd2fc2e81cf193c9712606f43f1e13e1a6e46bf /src/wx/kdm_choice.cc | |
| parent | a27964bd1794bb6a843873a0eaf3faa2c5cc317a (diff) | |
Remove some implicit conversions between wxString and std::string.
Diffstat (limited to 'src/wx/kdm_choice.cc')
| -rw-r--r-- | src/wx/kdm_choice.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/wx/kdm_choice.cc b/src/wx/kdm_choice.cc index c8685e22c..113ad51b5 100644 --- a/src/wx/kdm_choice.cc +++ b/src/wx/kdm_choice.cc @@ -20,15 +20,16 @@ #include "kdm_choice.h" +#include "wx_util.h" KDMChoice::KDMChoice (wxWindow* parent) : wxChoice (parent, wxID_ANY) { - Append("Modified Transitional 1", reinterpret_cast<void*>(dcp::Formulation::MODIFIED_TRANSITIONAL_1)); - Append("DCI Any", reinterpret_cast<void*>(dcp::Formulation::DCI_ANY)); - Append("DCI Specific", reinterpret_cast<void*>(dcp::Formulation::DCI_SPECIFIC)); - Append("Multiple Modified Transitional 1", reinterpret_cast<void*>(dcp::Formulation::MULTIPLE_MODIFIED_TRANSITIONAL_1)); + Append(char_to_wx("Modified Transitional 1"), reinterpret_cast<void*>(dcp::Formulation::MODIFIED_TRANSITIONAL_1)); + Append(char_to_wx("DCI Any"), reinterpret_cast<void*>(dcp::Formulation::DCI_ANY)); + Append(char_to_wx("DCI Specific"), reinterpret_cast<void*>(dcp::Formulation::DCI_SPECIFIC)); + Append(char_to_wx("Multiple Modified Transitional 1"), reinterpret_cast<void*>(dcp::Formulation::MULTIPLE_MODIFIED_TRANSITIONAL_1)); } |
