From f9d855de75c00129ac1f69380e1296df689552f7 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 17 Aug 1998 21:35:03 +0000 Subject: [PATCH] Added missing declaration of wxIcon::operator =(const wxIcon &) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/icon.h | 3 ++- include/wx/gtk1/icon.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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; } };