X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b8ec418aee4e38877d4cb79e2984c766dcc358..c099c54cbaa285c452468419f2021899553ff9b3:/src/mgl/icon.cpp diff --git a/src/mgl/icon.cpp b/src/mgl/icon.cpp index c4c03d448e..d1e2175fdb 100644 --- a/src/mgl/icon.cpp +++ b/src/mgl/icon.cpp @@ -2,14 +2,10 @@ // Name: icon.cpp // Author: Vaclav Slavik // Id: $Id$ -// Copyright: (c) 2001 Vaclav Slavik +// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "icon.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -35,19 +31,6 @@ wxIcon::wxIcon(char **bits, int WXUNUSED(width), int WXUNUSED(height)) : { } -wxIcon::wxIcon(const wxIcon& icon) : wxBitmap() -{ - Ref(icon); -} - -wxIcon& wxIcon::operator = (const wxIcon& icon) -{ - if (*this == icon) - return (*this); - Ref(icon); - return *this; -} - void wxIcon::CopyFromBitmap(const wxBitmap& bmp) { wxIcon *icon = (wxIcon*)(&bmp);