X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..6aad0c70377333c38733fc6fedd30c59d620dd68:/include/wx/mac/classic/accel.h diff --git a/include/wx/mac/classic/accel.h b/include/wx/mac/classic/accel.h index d68b50d597..6d34d460d8 100644 --- a/include/wx/mac/classic/accel.h +++ b/include/wx/mac/classic/accel.h @@ -33,9 +33,9 @@ public: wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) { if (*this == accel) return (*this); Ref(accel); return *this; } - bool operator == (const wxAcceleratorTable& accel) + bool operator == (const wxAcceleratorTable& accel) const { return m_refData == accel.m_refData; } - bool operator != (const wxAcceleratorTable& accel) + bool operator != (const wxAcceleratorTable& accel) const { return m_refData != accel.m_refData; } bool Ok() const;