mirror of
https://git.freebsd.org/ports.git
synced 2025-07-02 18:10:38 -04:00
PR: 272730 Reported by: michal.zielonka.8001@gmail.com Approved by: teodorsigaev@gmail.com (maintainer)
11 lines
473 B
C++
11 lines
473 B
C++
--- src/slic3r/GUI/ExtraRenderers.cpp.orig 2023-07-25 09:27:23 UTC
|
|
+++ src/slic3r/GUI/ExtraRenderers.cpp
|
|
@@ -327,7 +327,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();
|