mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 11:10:32 -04:00
Reported by: Teodor Sigaev <teodorsigaev@gmail.com> Reviewed by: lwhsu (mentor) Sponsored by: Postgres Professional Differential Revision: https://reviews.freebsd.org/D44315
11 lines
473 B
C++
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();
|