X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/019faef468c1558315586be8f9071acbdbc6a385..137c8bde085d6d5b7c459902d2ea1a198ab48765:/src/gtk/icon.cpp diff --git a/src/gtk/icon.cpp b/src/gtk/icon.cpp index 05c1089158..0d82d6830b 100644 --- a/src/gtk/icon.cpp +++ b/src/gtk/icon.cpp @@ -7,9 +7,8 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "icon.h" -#endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" #include "wx/icon.h" @@ -33,18 +32,6 @@ wxIcon::wxIcon() : wxBitmap() { } -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);