X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20b6985553b4e01e7960847e3211d940aeff8742..81853b98619293be66074d74d2557973c0f3ab21:/include/wx/mac/carbon/icon.h diff --git a/include/wx/mac/carbon/icon.h b/include/wx/mac/carbon/icon.h index cc90942c70..3adb3f7e0d 100644 --- a/include/wx/mac/carbon/icon.h +++ b/include/wx/mac/carbon/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,10 +20,6 @@ class WXDLLEXPORT wxIcon: public wxGDIObject public: wxIcon(); - // Copy constructors - wxIcon(const wxIcon& icon) - { Ref(icon); } - wxIcon(const char **data); wxIcon(char **data); wxIcon(const char bits[], int width , int height ); @@ -44,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); } @@ -62,7 +52,7 @@ public: void SetHeight(int h); void SetDepth(int d); void SetOk(bool isOk); - + WXHICON GetHICON() const ; DECLARE_DYNAMIC_CLASS(wxIcon)