diff --git a/include/wx/gtk/icon.h b/include/wx/gtk/icon.h index 1611ffe6dd..7596879cd9 100644 --- a/include/wx/gtk/icon.h +++ b/include/wx/gtk/icon.h @@ -40,7 +40,8 @@ public: wxIcon(const wxIcon& icon); wxIcon(const wxIcon* icon); wxIcon( char **bits, int width=-1, int height=-1 ); - + + wxIcon& operator = (const wxIcon& icon); inline bool operator == (const wxIcon& icon) { return m_refData == icon.m_refData; } inline bool operator != (const wxIcon& icon) { return m_refData != icon.m_refData; } }; diff --git a/include/wx/gtk1/icon.h b/include/wx/gtk1/icon.h index 1611ffe6dd..7596879cd9 100644 --- a/include/wx/gtk1/icon.h +++ b/include/wx/gtk1/icon.h @@ -40,7 +40,8 @@ public: wxIcon(const wxIcon& icon); wxIcon(const wxIcon* icon); wxIcon( char **bits, int width=-1, int height=-1 ); - + + wxIcon& operator = (const wxIcon& icon); inline bool operator == (const wxIcon& icon) { return m_refData == icon.m_refData; } inline bool operator != (const wxIcon& icon) { return m_refData != icon.m_refData; } };