X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f83a4540d1044f56b00147303786decd12a2dc2..e97f6ab64ef2e1e3839114d95ad6b60b7ac5bd27:/include/wx/msw/colour.h?ds=sidebyside 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; };