From 7f24d5123766fbcfcec6f1343eefa32edb6254d6 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 25 Mar 2025 19:40:12 +0100 Subject: [PATCH] FIX: Fix missing wxDC declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /run/build/BambuStudio/src/slic3r/Utils/WxFontUtils.hpp: At global scope: /run/build/BambuStudio/src/slic3r/Utils/WxFontUtils.hpp:44:56: error: ‘wxDC’ has not been declared 44 | static void get_suitable_font_size(int max_height, wxDC &dc); | ^~~~ --- src/slic3r/Utils/WxFontUtils.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slic3r/Utils/WxFontUtils.hpp b/src/slic3r/Utils/WxFontUtils.hpp index fd0a81a88..79b6b3702 100644 --- a/src/slic3r/Utils/WxFontUtils.hpp +++ b/src/slic3r/Utils/WxFontUtils.hpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include "libslic3r/Emboss.hpp"