X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52479aefae169d5c85cd0e07d159db0b8dd0a965..90527a50d74bed6ed6b4d163e8170ae8c3f5d869:/include/wx/mac/classic/icon.h?ds=sidebyside diff --git a/include/wx/mac/classic/icon.h b/include/wx/mac/classic/icon.h index bdc0ff755f..8a137f6d18 100644 --- a/include/wx/mac/classic/icon.h +++ b/include/wx/mac/classic/icon.h @@ -12,10 +12,6 @@ #ifndef _WX_ICON_H_ #define _WX_ICON_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "icon.h" -#endif - #include "wx/bitmap.h" // Icon @@ -24,11 +20,6 @@ class WXDLLEXPORT wxIcon: public wxBitmap public: wxIcon(); - // Copy constructors - wxIcon(const wxIcon& icon) - : wxBitmap() - { Ref(icon); } - wxIcon(const char **data); wxIcon(char **data); wxIcon(const char bits[], int width , int height ); @@ -45,8 +36,6 @@ public: bool LoadFile(const wxString& name ,wxBitmapType flags = wxBITMAP_TYPE_ICON_RESOURCE ) { return LoadFile( name , flags , -1 , -1 ) ; } - wxIcon& operator=(const wxIcon& icon) - { if (this != &icon) Ref(icon); return *this; } bool operator==(const wxIcon& icon) const { return m_refData == icon.m_refData; } bool operator!=(const wxIcon& icon) const { return !(*this == icon); }