From d0cc4b35ee3704003228634f1d2350655e7322bb Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Tue, 8 Jul 2025 14:34:51 +0800 Subject: [PATCH] FIX: only enable this on windows, since there are freeze problems on mac platform JIRA: [STUDIO-12929] Change-Id: If793d72db63ba00f4a65f09c024d07fd5e7776c3 (cherry picked from commit 7054f18e2b26b562d336401980a0f54df2050f01) --- src/slic3r/GUI/Widgets/Button.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/Widgets/Button.cpp b/src/slic3r/GUI/Widgets/Button.cpp index ecfe90ef24..a08d9e1f0a 100644 --- a/src/slic3r/GUI/Widgets/Button.cpp +++ b/src/slic3r/GUI/Widgets/Button.cpp @@ -485,12 +485,14 @@ bool Button::AcceptsFocus() const { return canFocus; } void Button::EnableTooltipEvenDisabled() { +#if defined(_MSC_VER) || defined(_WIN32) auto parent = this->GetParent(); if (parent) { parent->Bind(wxEVT_MOTION, &Button::OnParentMotion, this); parent->Bind(wxEVT_LEAVE_WINDOW, &Button::OnParentLeave, this); }; +#endif }; void Button::OnParentMotion(wxMouseEvent& event)