From c443129f34dc731cb47613066384b492de0dae61 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Fri, 27 Mar 2026 14:32:02 +0800 Subject: [PATCH] fix build errors on latest xcode --- src/slic3r/GUI/wxMediaCtrl2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/wxMediaCtrl2.h b/src/slic3r/GUI/wxMediaCtrl2.h index 1b510e2115..c84ad7a833 100644 --- a/src/slic3r/GUI/wxMediaCtrl2.h +++ b/src/slic3r/GUI/wxMediaCtrl2.h @@ -36,7 +36,7 @@ public: int GetLastError() const { return m_error; } - static constexpr wxMediaState MEDIASTATE_BUFFERING = (wxMediaState) 6; + static inline const wxMediaState MEDIASTATE_BUFFERING = static_cast(6); protected: void DoSetSize(int x, int y, int width, int height, int sizeFlags) override;