Add macro to take advantage of wxString <<

This commit is contained in:
Joseph Lenox 2018-05-05 17:35:28 -05:00
parent 2c2ad2c992
commit b0d552ce4e

View File

@ -15,6 +15,11 @@
#include "Log.hpp"
/// Macro to build std::wstring that slic3r::log expects using << syntax of wxString
/// Avoids wx pollution of libslic3r
#define LOG_WSTRING(...) ((wxString("") << __VA_ARGS__).ToStdWstring())
/// Common static (that is, free-standing) functions, not part of an object hierarchy.
namespace Slic3r { namespace GUI {