ports/cad/PrusaSlicer/files/patch-src_slic3r_GUI_UnsavedChangesDialog.hpp
Michael Reifenberger ae9787cdfb cad/PrusaSlicer: update to 2.9.0
Adapted patch provided from Jesper Schmitz Mouridsen

PR:		284821
Reported by:	Torfinn Ingolfsen
Approved by:	teodorsigaev@
2025-03-09 15:37:10 +01:00

20 lines
660 B
C++

--- src/slic3r/GUI/UnsavedChangesDialog.hpp.orig 2024-12-20 11:54:34 UTC
+++ src/slic3r/GUI/UnsavedChangesDialog.hpp
@@ -49,7 +49,7 @@ class ModelNode
wxString m_mod_color;
wxString m_new_color;
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
wxIcon get_bitmap(const wxString& color);
#else
wxBitmap get_bitmap(const wxString& color);
@@ -58,7 +58,7 @@ class ModelNode
public:
bool m_toggle {true};
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
wxIcon m_icon;
wxIcon m_old_color_bmp;
wxIcon m_mod_color_bmp;