mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
Adapted patch provided from Jesper Schmitz Mouridsen PR: 284821 Reported by: Torfinn Ingolfsen Approved by: teodorsigaev@
11 lines
523 B
C++
11 lines
523 B
C++
--- src/slic3r/GUI/TopBar.cpp.orig 2024-12-20 11:54:34 UTC
|
|
+++ src/slic3r/GUI/TopBar.cpp
|
|
@@ -52,7 +52,7 @@ TopBarItemsCtrl::Button::Button(wxWindow* parent, cons
|
|
Bind(wxEVT_LEAVE_WINDOW, [this](wxMouseEvent& event) { set_hovered(false); event.Skip(); });
|
|
|
|
Bind(wxEVT_PAINT, [this](wxPaintEvent&) { render(); });
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__FreeBSD__)
|
|
Bind(wxEVT_LEFT_UP, [this](wxMouseEvent& event) {
|
|
#else
|
|
Bind(wxEVT_LEFT_DOWN, [this](wxMouseEvent& event) {
|