X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a7c125370cf6fd2b66eb06ba031efcfd5c5b9b0..478cde3220641d49cfbd492e799107d13ccdfeb3:/include/wx/os2/accel.h diff --git a/include/wx/os2/accel.h b/include/wx/os2/accel.h index 0f842eeac2..1614b06818 100644 --- a/include/wx/os2/accel.h +++ b/include/wx/os2/accel.h @@ -46,9 +46,9 @@ public: inline wxAcceleratorTable& operator = (const wxAcceleratorTable& rAccel) { if (*this == rAccel) return (*this); Ref(rAccel); return *this; }; - inline bool operator == (const wxAcceleratorTable& rAccel) + inline bool operator== (const wxAcceleratorTable& rAccel) const { return m_refData == rAccel.m_refData; }; - inline bool operator != (const wxAcceleratorTable& rAccel) + inline bool operator!= (const wxAcceleratorTable& rAccel) const { return m_refData != rAccel.m_refData; }; bool Ok() const;