X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ed460c2e7802793d591c84f3cfdbff159c5549..9199e66fb56bc80b81b91f59250df78d7197052e:/include/wx/stubs/colour.h diff --git a/include/wx/stubs/colour.h b/include/wx/stubs/colour.h index 16ffdac9aa..24028b6756 100644 --- a/include/wx/stubs/colour.h +++ b/include/wx/stubs/colour.h @@ -64,13 +64,13 @@ public: unsigned char Blue() const { return m_blue; } // comparison - bool operator == (const wxColour& colour) + bool operator == (const wxColour& colour) const { return (m_red == colour.m_red && m_green == colour.m_green && m_blue == colour.m_blue); } - bool operator != (const wxColour& colour) { return !(*this == colour); } + bool operator != (const wxColour& colour) const { return !(*this == colour); } void InitFromName(const wxString& col);