X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..f2c88494b6978bee502f4c856ba9dc7e3b7c3954:/src/mgl/icon.cpp diff --git a/src/mgl/icon.cpp b/src/mgl/icon.cpp index bedd19a32f..d1e2175fdb 100644 --- a/src/mgl/icon.cpp +++ b/src/mgl/icon.cpp @@ -6,10 +6,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#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);