diff --git a/src/GUI/misc_ui.hpp b/src/GUI/misc_ui.hpp index 28c28377d..b22c73b3a 100644 --- a/src/GUI/misc_ui.hpp +++ b/src/GUI/misc_ui.hpp @@ -14,6 +14,7 @@ #include "Settings.hpp" #include "Log.hpp" +#include "Point.hpp" /// Macro to build std::wstring that slic3r::log expects using << syntax of wxString @@ -133,6 +134,8 @@ wxString encode_path(const wxString& in); std::vector open_model(wxWindow* parent, const Settings& settings, wxWindow* top); +inline Slic3r::Point new_scale(const wxPoint& p) { return Slic3r::Point::new_scale(p.x, p.y); } + }} // namespace Slic3r::GUI #endif // MISC_UI_HPP