Fixed the new Slic3r::GUI::format_wxstr(): The arguments were not passed.
This commit is contained in:
parent
4945a0dc0e
commit
f4cc0ce075
1 changed files with 2 additions and 2 deletions
|
@ -25,11 +25,11 @@ inline wxString format_wxstr(const std::string& fmt, TArgs&&... args) {
|
|||
}
|
||||
template<typename... TArgs>
|
||||
inline wxString format_wxstr(const wxString& fmt, TArgs&&... args) {
|
||||
return format_wxstr(fmt.ToUTF8().data());
|
||||
return format_wxstr(fmt.ToUTF8().data(), std::forward<TArgs>(args)...);
|
||||
}
|
||||
template<typename... TArgs>
|
||||
inline std::string format(const wxString& fmt, TArgs&&... args) {
|
||||
return format(fmt.ToUTF8().data());
|
||||
return format(fmt.ToUTF8().data(), std::forward<TArgs>(args)...);
|
||||
}
|
||||
|
||||
} // namespace GUI
|
||||
|
|
Loading…
Reference in a new issue