Add macro to take advantage of wxString <<

This commit is contained in:
Joseph Lenox 2018-05-05 17:35:28 -05:00 committed by Joseph Lenox
parent 2e404c5b36
commit 2a41f8afd1

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 {