fix build errors on latest xcode

This commit is contained in:
SoftFever
2026-03-27 14:32:02 +08:00
parent 97d5bf89d0
commit c443129f34

View File

@@ -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<wxMediaState>(6);
protected:
void DoSetSize(int x, int y, int width, int height, int sizeFlags) override;