X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd3f686c274a264e89ea97505350a82c1134f307..9199e66fb56bc80b81b91f59250df78d7197052e:/include/wx/stubs/colour.h diff --git a/include/wx/stubs/colour.h b/include/wx/stubs/colour.h index 47d0e2ac21..24028b6756 100644 --- a/include/wx/stubs/colour.h +++ b/include/wx/stubs/colour.h @@ -64,13 +64,15 @@ 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); /* TODO WXCOLORREF GetPixel() const { return m_pixel; };