Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-11-26 16:41:58 +0300
committerbubnikv <bubnikv@gmail.com>2018-11-26 16:41:58 +0300
commita378bb7bed57f036441075928cd14f252c45ef7f (patch)
treedb3ab427fbd49a67f1cb5638861758e0fc6a0a0e /src/slic3r/GUI/GUI.cpp
parent63faa917a99fd08239cab7ff920bfa9f0648bbbc (diff)
Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but libslic3r. Now headers from libslic3r need to be included with an explicit path (libslic3r/libslic3r.h etc) Split the localization macros into I18N.{cpp,h}
Diffstat (limited to 'src/slic3r/GUI/GUI.cpp')
-rw-r--r--src/slic3r/GUI/GUI.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/slic3r/GUI/GUI.cpp b/src/slic3r/GUI/GUI.cpp
index a809fe6bf..7e2d4ce95 100644
--- a/src/slic3r/GUI/GUI.cpp
+++ b/src/slic3r/GUI/GUI.cpp
@@ -1,5 +1,6 @@
#include "GUI.hpp"
#include "GUI_App.hpp"
+#include "I18N.hpp"
#include "WipeTowerDialog.hpp"
#include <assert.h>
@@ -33,8 +34,8 @@
#include "PresetBundle.hpp"
#include "UpdateDialogs.hpp"
-#include "../../libslic3r/Utils.hpp"
-#include "../../libslic3r/Print.hpp"
+#include "libslic3r/Utils.hpp"
+#include "libslic3r/Print.hpp"
namespace Slic3r { namespace GUI {
@@ -307,12 +308,6 @@ AppConfig* get_app_config()
return wxGetApp().app_config;
}
-wxString L_str(const std::string &str)
-{
- //! Explicitly specify that the source string is already in UTF-8 encoding
- return wxGetTranslation(wxString(str.c_str(), wxConvUTF8));
-}
-
wxString from_u8(const std::string &str)
{
return wxString::FromUTF8(str.c_str());