summaryrefslogtreecommitdiff
path: root/src/wx/dcp_timeline.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-08-10 00:41:52 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-03 17:02:24 +0200
commitc97de27f9c5364b6f126016c5e1f31a76d5ce565 (patch)
treef29bd3c22e60f9abdfbe46f145279d9af7aa7256 /src/wx/dcp_timeline.cc
parent5ed17cd197aa743922da18e2a5753f746d38122e (diff)
Remove use of wxT in favour of char_to_wx().
The wxWidgets docs advise against its use these days.
Diffstat (limited to 'src/wx/dcp_timeline.cc')
-rw-r--r--src/wx/dcp_timeline.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/dcp_timeline.cc b/src/wx/dcp_timeline.cc
index f3ccea037..85119dc34 100644
--- a/src/wx/dcp_timeline.cc
+++ b/src/wx/dcp_timeline.cc
@@ -392,7 +392,7 @@ DCPTimeline::paint_reels(wxGraphicsContext* gc)
path.AddLineToPoint(to, y);
gc->StrokePath(path);
- auto str = wxString::Format(wxT("#%d"), index + 1);
+ auto str = wxString::Format(char_to_wx("#%d"), index + 1);
wxDouble str_width;
wxDouble str_height;
wxDouble str_descent;