mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 05:30:40 +08:00
Add macro to take advantage of wxString <<
This commit is contained in:
parent
2e404c5b36
commit
2a41f8afd1
@ -15,6 +15,11 @@
|
|||||||
|
|
||||||
#include "Log.hpp"
|
#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.
|
/// Common static (that is, free-standing) functions, not part of an object hierarchy.
|
||||||
|
|
||||||
namespace Slic3r { namespace GUI {
|
namespace Slic3r { namespace GUI {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user