X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..e547f7a7b87ef1290fbbf3eeeac24665043a9f73:/src/mgl/icon.cpp diff --git a/src/mgl/icon.cpp b/src/mgl/icon.cpp index 5af736371a..d1e2175fdb 100644 --- a/src/mgl/icon.cpp +++ b/src/mgl/icon.cpp @@ -31,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);