projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a22ef8
)
Missing std_to_wx.
author
Carl Hetherington
<cth@carlh.net>
Thu, 29 Sep 2016 10:37:07 +0000
(11:37 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 29 Sep 2016 10:37:07 +0000
(11:37 +0100)
src/wx/name_format_editor.cc
patch
|
blob
|
history
diff --git
a/src/wx/name_format_editor.cc
b/src/wx/name_format_editor.cc
index 160a554c01d3289216f057a27b0dfd7e51c9f1c0..309e04c6044c93452db7c99af6f96ae40d512d27 100644
(file)
--- a/
src/wx/name_format_editor.cc
+++ b/
src/wx/name_format_editor.cc
@@
-64,7
+64,7
@@
NameFormatEditor::update_example ()
{
_name.set_specification (wx_to_std (_specification->GetValue ()));
- wxString example = wxString::Format (_("e.g. %s"),
_name.get (_examples, _suffix
));
+ wxString example = wxString::Format (_("e.g. %s"),
std_to_wx (_name.get (_examples, _suffix)
));
wxString wrapped;
for (size_t i = 0; i < example.Length(); ++i) {
if (i > 0 && (i % 40) == 0) {