]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/classic/pen.h
removed old commented out code and out of date comments
[wxWidgets.git] / include / wx / mac / classic / pen.h
index db2d4ebc539b1793c908934ec5e0f3795497a937..a6055de1881cae000991631dee5d0abc2a4be182 100644 (file)
@@ -58,8 +58,8 @@ public:
   ~wxPen();
 
   inline wxPen& operator = (const wxPen& pen) { if (*this == pen) return (*this); Ref(pen); return *this; }
-  inline bool operator == (const wxPen& pen) { return m_refData == pen.m_refData; }
-  inline bool operator != (const wxPen& pen) { return m_refData != pen.m_refData; }
+  inline bool operator == (const wxPen& pen) const { return m_refData == pen.m_refData; }
+  inline bool operator != (const wxPen& pen) const { return m_refData != pen.m_refData; }
 
   virtual bool Ok() const { return (m_refData != NULL) ; }