X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/236a9de39afa090fdee3cf91cb5364ceca69e3f8..8366ae934aab9f835747b0c2e456231e8795fe78:/include/wx/motif/pen.h?ds=sidebyside diff --git a/include/wx/motif/pen.h b/include/wx/motif/pen.h index 120d793d89..b0a30769e1 100644 --- a/include/wx/motif/pen.h +++ b/include/wx/motif/pen.h @@ -57,8 +57,8 @@ public: ~wxPen(); inline wxPen& operator = (const wxPen& pen) { if (*this == pen) return (*this); Ref(pen); return *this; } - inline bool operator == (const wxPen& pen) { return m_refData == pen.m_refData; } - inline bool operator != (const wxPen& pen) { return m_refData != pen.m_refData; } + inline bool operator == (const wxPen& pen) const { return m_refData == pen.m_refData; } + inline bool operator != (const wxPen& pen) const { return m_refData != pen.m_refData; } virtual bool Ok() const { return (m_refData != NULL) ; }