X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5df4fc722412fe5f6764c490925b26293c5f662..a552d1201fd615730d7c0662a65df306fe18c274:/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); }