X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..74b720793f9d312566450461fac394e5e456ae5d:/include/wx/cocoa/icon.h diff --git a/include/wx/cocoa/icon.h b/include/wx/cocoa/icon.h index d1e338c45d..93e822526d 100644 --- a/include/wx/cocoa/icon.h +++ b/include/wx/cocoa/icon.h @@ -6,7 +6,7 @@ // Created: 2003/08/11 // RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _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); }