]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/icon.h
Corrected typo.
[wxWidgets.git] / include / wx / os2 / icon.h
index f2f109c2fbf9904cae8071137893e72c19d645b1..383fd39e166d4bf16385d620beb6e36a6d67af78 100644 (file)
@@ -73,7 +73,7 @@ public:
                  );
 
     inline wxIcon& operator = (const wxIcon& rIcon)
-       { if (*this == rIcon) Ref(rIcon); return *this; }
+       { if (*this != rIcon) Ref(rIcon); return *this; }
     inline bool operator == (const wxIcon& rIcon)
        { return m_refData == rIcon.m_refData; }
     inline bool operator != (const wxIcon& rIcon)