diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-10 00:41:52 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-17 12:59:25 +0200 |
| commit | dc97c7cde9937a5c19a9412b5877e854974006a9 (patch) | |
| tree | e55e1297f76e7dbd8845b95d40f546570672e482 /src/tools/dcpomatic_batch.cc | |
| parent | 1b01a029fa4fc5768c9d25c206157b8ab00f6edc (diff) | |
Remove use of wxT in favour of char_to_wx().
The wxWidgets docs advise against its use these days.
Diffstat (limited to 'src/tools/dcpomatic_batch.cc')
| -rw-r--r-- | src/tools/dcpomatic_batch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc index 51d700d20..379a3c074 100644 --- a/src/tools/dcpomatic_batch.cc +++ b/src/tools/dcpomatic_batch.cc @@ -516,7 +516,7 @@ class App : public wxApp void OnInitCmdLine (wxCmdLineParser& parser) override { parser.SetDesc (command_line_description); - parser.SetSwitchChars (wxT ("-")); + parser.SetSwitchChars(char_to_wx("-")); } bool OnCmdLineParsed (wxCmdLineParser& parser) override |
