X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..51f5e2822cdcb8b433b1d117f186dfd8bb06e240:/include/wx/cocoa/icon.h diff --git a/include/wx/cocoa/icon.h b/include/wx/cocoa/icon.h index 79178d01aa..93e822526d 100644 --- a/include/wx/cocoa/icon.h +++ b/include/wx/cocoa/icon.h @@ -24,10 +24,6 @@ class WXDLLEXPORT wxIcon: public wxGDIObject public: wxIcon(); - // Copy constructors - wxIcon(const wxIcon& icon) - { Ref(icon); } - wxIcon(const char **data) { CreateFromXpm(data); } wxIcon(char **data) { CreateFromXpm((const char**)data); } wxIcon(const char bits[], int width , int height ); @@ -44,8 +40,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); }