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

12 lines
485 B
C++

--- src/slic3r/GUI/ExtraRenderers.cpp.orig 2026-03-22 17:56:38 UTC
+++ src/slic3r/GUI/ExtraRenderers.cpp
@@ -328,7 +328,7 @@ wxWindow* BitmapChoiceRenderer::CreateEditorCtrl(wxWin
else
c_editor->SetSelection(atoi(data.GetText().c_str()) - 1);
-#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();