Add definition of wxFont to header.

Fix:
../src/slic3r/Utils/EmbossStyleManager.hpp:219:42:   required from here
/opt/rh/devtoolset-10/root/usr/include/c++/10/type_traits:1239:4: error: invalid use of incomplete type 'class wxFont'
This commit is contained in:
Filip Sykala - NTB T15p 2022-11-22 11:32:20 +01:00
parent 788059f3eb
commit dee9f9b731
2 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,4 @@
#include "EmbossStyleManager.hpp"
#include <wx/font.h>
#include <GL/glew.h> // Imgui texture
#include <imgui/imgui_internal.h> // ImTextCharFromUtf8
#include "WxFontUtils.hpp"

View File

@ -5,12 +5,11 @@
#include <optional>
#include <string>
#include <imgui/imgui.h>
#include <wx/font.h>
#include <GL/glew.h>
#include <libslic3r/Emboss.hpp>
#include <libslic3r/AppConfig.hpp>
class wxFont;
namespace Slic3r::GUI::Emboss {
/// <summary>
/// Manage Emboss text styles