+ if (note.frame()) {
+ message.Replace("%frame", std_to_wx(dcp::raw_convert<string>(note.frame().get())));
+ }
+ if (note.component()) {
+ message.Replace("%component", std_to_wx(dcp::raw_convert<string>(note.component().get())));
+ }
+ if (note.size()) {
+ message.Replace("%size", std_to_wx(dcp::raw_convert<string>(note.size().get())));
+ }