diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-09 02:02:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-17 12:59:25 +0200 |
| commit | 203ee8d5dcb58a3acb79780afb95c5251d8e4311 (patch) | |
| tree | c29be253617a3884570b50cd6f074e00fc5163dc /src/tools/dcpomatic_kdm.cc | |
| parent | 199f9e9026861d1a104f2b24371ddbb94f0e8169 (diff) | |
Remove some implicit conversions between wxString and std::string.
Diffstat (limited to 'src/tools/dcpomatic_kdm.cc')
| -rw-r--r-- | src/tools/dcpomatic_kdm.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc index af16f57aa..909c4e281 100644 --- a/src/tools/dcpomatic_kdm.cc +++ b/src/tools/dcpomatic_kdm.cc @@ -698,7 +698,7 @@ private: if (!base->parent()) { /* This is the root group */ - _dkdm_id[_dkdm->AddRoot("root")] = base; + _dkdm_id[_dkdm->AddRoot(char_to_wx("root"))] = base; } else { /* Add base to the view */ wxTreeItemId added; @@ -944,7 +944,7 @@ private: ) ); } catch (...) { - error_dialog(nullptr, _("An unknown exception occurred.") + " " + wx::report_problem()); + error_dialog(nullptr, wxString::Format(_("An unknown exception occurred. %s"), wx::report_problem())); } /* This will terminate the program */ @@ -953,7 +953,7 @@ private: void OnUnhandledException () override { - error_dialog(nullptr, _("An unknown exception occurred.") + " " + wx::report_problem()); + error_dialog(nullptr, wxString::Format(_("An unknown exception occurred. %s"), wx::report_problem())); } void idle () |
