1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-18 11:10:32 -04:00
ports/cad/PrusaSlicer/files/patch-src_slic3r_GUI_ExtraRenderers.cpp
Michael Zhilin c4fa8a7ea8 cad/PrusaSlicer: update to 2.7.2
Reported by: Teodor Sigaev <teodorsigaev@gmail.com>
Reviewed by: lwhsu (mentor)
Sponsored by: Postgres Professional
Differential Revision: https://reviews.freebsd.org/D44315
2024-03-28 22:34:58 +03:00

11 lines
473 B
C++

--- src/slic3r/GUI/ExtraRenderers.cpp.orig 2023-12-12 14:21:21 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();