summaryrefslogtreecommitdiff
path: root/src/wx/name_format_editor.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-10 02:02:19 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-10 02:02:19 +0200
commit5b0e331380c83ec9835e8aa42fd342b2f0ad275d (patch)
tree13c27f0b3420f5c3a268a5a22a9172675fdc370c /src/wx/name_format_editor.cc
parent5d838bc863a7569e68546026c109607fd5a94362 (diff)
Use dcp::compose rather than our own.compose
Diffstat (limited to 'src/wx/name_format_editor.cc')
-rw-r--r--src/wx/name_format_editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/name_format_editor.cc b/src/wx/name_format_editor.cc
index b2c11b50c..969cd6076 100644
--- a/src/wx/name_format_editor.cc
+++ b/src/wx/name_format_editor.cc
@@ -44,7 +44,7 @@ NameFormatEditor::NameFormatEditor (wxWindow* parent, dcp::NameFormat name, dcp:
_panel->SetSizer (_sizer);
for (auto const& i: titles) {
- auto t = new StaticText (_panel, std_to_wx (String::compose ("%%%1 %2", i.first, i.second)));
+ auto t = new StaticText (_panel, std_to_wx (dcp::compose ("%%%1 %2", i.first, i.second)));
_sizer->Add (t);
auto font = t->GetFont();
font.SetStyle (wxFONTSTYLE_ITALIC);