X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..fcdbeefa4e1f033a8c1d0e2a0d4fb521e5e47450:/include/wx/motif/accel.h?ds=sidebyside diff --git a/include/wx/motif/accel.h b/include/wx/motif/accel.h index 901019fca5..78605a9c4c 100644 --- a/include/wx/motif/accel.h +++ b/include/wx/motif/accel.h @@ -31,8 +31,8 @@ public: ~wxAcceleratorTable(); wxAcceleratorTable& operator = (const wxAcceleratorTable& accel) { if (*this == accel) return (*this); Ref(accel); return *this; } - bool operator == (const wxAcceleratorTable& accel) { return m_refData == accel.m_refData; } - bool operator != (const wxAcceleratorTable& accel) { return m_refData != accel.m_refData; } + bool operator == (const wxAcceleratorTable& accel) const { return m_refData == accel.m_refData; } + bool operator != (const wxAcceleratorTable& accel) const { return m_refData != accel.m_refData; } bool Ok() const;