- inline unsigned char Red() const { return m_red; }
- inline unsigned char Green() const { return m_green; }
- inline unsigned char Blue() const { return m_blue; }
-
- inline bool operator == (const wxColour& colour) { return (m_red == colour.m_red && m_green == colour.m_green && m_blue == colour.m_blue); }
+ unsigned char Red() const { return m_red; }
+ unsigned char Green() const { return m_green; }
+ unsigned char Blue() const { return m_blue; }
+
+ // comparison
+ bool operator==(const wxColour& colour) const
+ {
+ return m_isInit == colour.m_isInit &&
+ m_red == colour.m_red &&
+ m_green == colour.m_green &&
+ m_blue == colour.m_blue;
+ }