Remove Unused Project Includes From Files With Platform-Specific Code

A Linux include-what-you-use run cannot see the code inside _WIN32, __APPLE__ or __linux__ blocks, so its verdict is only taken where nothing the removed header declares, directly or through what it includes, is named inside those blocks. Removals also have to hold in both the Release and Debug configuration and never touch a line inside a conditional block.
This commit is contained in:
Hanif Koh committed 2026-10-03 22:45:55 +08:00
1 parent 0a30cfe6b0
commit bf43b9ea7b
98 files changed
+114 -211

No files matched your search

+2 -1
View File
@@ -19,7 +19,6 @@
#include <wx/gdicmn.h>
#include <wx/panel.h>
#include "slic3r/GUI/PresetComboBoxes.hpp"
#include "libslic3r/PrintConfig.hpp"
#include "slic3r/GUI/wxExtensions.hpp"
#include <wx/anybutton.h>
#include "slic3r/GUI/Widgets/HyperLink.hpp"
@@ -31,6 +30,8 @@
#include <memory>
#include <wx/scrolwin.h>
namespace Slic3r { class DynamicPrintConfig; }
namespace Slic3r { namespace GUI {
wxDEFINE_EVENT(EVT_CALI_ACTION, wxCommandEvent);