]> git.saurik.com Git - wxWidgets.git/commitdiff
Added missing const for operator !=
authorJulian Smart <julian@anthemion.co.uk>
Wed, 15 May 2002 13:13:17 +0000 (13:13 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 15 May 2002 13:13:17 +0000 (13:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/colour.h

index f4afea1ba2966c1963576fb8635e540012cc086b..02383e7ff2e384acf0ebf767312d29dd6e9974d3 100644 (file)
@@ -79,7 +79,7 @@ public:
             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);