X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f83a4540d1044f56b00147303786decd12a2dc2..7740bc414353cf5c70ddef37b3700d35b7188d32:/include/wx/msw/colour.h diff --git a/include/wx/msw/colour.h b/include/wx/msw/colour.h index 52f15ed96f..0c3def2984 100644 --- a/include/wx/msw/colour.h +++ b/include/wx/msw/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); } WXCOLORREF GetPixel() const { return m_pixel; };