From a8f2e17eddd70b922b98a5883fd4789a1a3df228 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 12 Aug 2025 21:06:05 +0200 Subject: [PATCH] FIX: Fix missing wxString declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In file included from /run/build/BambuStudio/src/slic3r/GUI/DeviceCore/DevFirmware.cpp:1: src/slic3r/GUI/DeviceCore/DevFirmware.h:33:5: error: ‘wxString’ does not name a type 33 | wxString product_name; | ^~~~~~~~ src/slic3r/GUI/DeviceCore/DevFilaBlackList.h:10:230: error: ‘wxString’ has not been declared 10 | static void check_filaments_in_blacklist(std::string model_id, std::string tag_vendor, std::string tag_type, const std::string& filament_id, int ams_id, int slot_id, std::string tag_name, bool& in_blacklist, std::string& ac, wxString& info); | ^~~~~~~~ (cherry picked from commit 8092454b7560150c03bcd6c27c996b33dd52758f) --- src/slic3r/GUI/DeviceCore/DevFilaBlackList.h | 1 + src/slic3r/GUI/DeviceCore/DevFirmware.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/slic3r/GUI/DeviceCore/DevFilaBlackList.h b/src/slic3r/GUI/DeviceCore/DevFilaBlackList.h index b77d8e8b1e..7eed1f5a97 100644 --- a/src/slic3r/GUI/DeviceCore/DevFilaBlackList.h +++ b/src/slic3r/GUI/DeviceCore/DevFilaBlackList.h @@ -1,4 +1,5 @@ #pragma once +#include #include "slic3r/Utils/json_diff.hpp" namespace Slic3r diff --git a/src/slic3r/GUI/DeviceCore/DevFirmware.h b/src/slic3r/GUI/DeviceCore/DevFirmware.h index c89ed470d8..35edf9658e 100644 --- a/src/slic3r/GUI/DeviceCore/DevFirmware.h +++ b/src/slic3r/GUI/DeviceCore/DevFirmware.h @@ -1,5 +1,6 @@ #pragma once #include +#include #include "slic3r/Utils/json_diff.hpp" namespace Slic3r {