Files
ports/cad/PrusaSlicer/files/patch-src_slic3r_GUI_ExtraRenderers.cpp
2026-10-04 04:07:15 +00:00

12 lines
473 B
C++

--- src/slic3r/GUI/ExtraRenderers.cpp.orig 2024-12-20 11:54:34 UTC
+++ src/slic3r/GUI/ExtraRenderers.cpp
@@ -343,7 +343,7 @@ wxWindow* BitmapChoiceRenderer::CreateEditorCtrl(wxWin
c_editor->SetSelection(atoi(data.GetText().c_str()));
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
c_editor->Bind(wxEVT_COMBOBOX, [this](wxCommandEvent& evt) {
// to avoid event propagation to other sidebar items
evt.StopPropagation();